Markers
Table of Contents
AdminPresenter.php
| Type | Line | Description |
|---|---|---|
| 7 | gscloud.cz/LICENSE | |
| 70 | for templating | |
| 100 | API calls | |
| 107 | don't allow thumbnail filenames | |
| 110 | don't allow thumbnail filenames | |
| 113 | don't allow thumbnail filenames | |
| 143 | original file | |
| 144 | thumbnail 50 px | |
| 145 | thumbnail 150 px | |
| 146 | thumbnail 320 px | |
| 212 | profile ID | |
| 215 | fix profile ID | |
| 271 | " . $_SERVER["SERVER_NAME"]); | |
| 274 | unauthorized | |
| 277 | www.googleapis.com/pagespeedonline/v5/runPagespeed?url=${base}&key=${key}"; | |
| 279 | read data from Google | |
| 283 | error | |
| 292 | error | |
| 308 | error | |
| 329 | error | |
| 350 | error | |
| 372 | error | |
| 394 | error | |
| 434 | random entropy | |
| 436 | return 8 chars of SHA256 | |
| 437 | @todo check write fail! | |
| 441 | error | |
| 450 | delete identity | |
| 455 | error | |
| 463 | remove all extra whitespace | |
| 468 | fix profile ID | |
| 469 | profile ID | |
| 475 | URL path | |
| 481 | SHA 256 hexadecimal | |
| 486 | error 500 | |
| 492 | error | |
| 503 | error | |
| 513 | error | |
| 520 | save article meta data | |
| 530 | OK | |
| 602 | secure key | |
| 605 | error | |
| 627 | clear all cache profiles | |
| 637 | purge cache if run on server only | |
| 645 | error - cannot acquire a lock | |
| 671 | remove column 6 | |
| 672 | remove some strings | |
| 679 | add 5 column classes |
AndroidPresenter.php
| Type | Line | Description |
|---|---|---|
| 7 | gscloud.cz/LICENSE |
ApiPresenter.php
| Type | Line | Description |
|---|---|---|
| 6 | gscloud.cz/LICENSE | |
| 37 | $use_cache = false; | |
| 39 | general API properties | |
| 40 | temp. fix for broken Redis lib @ PHP 8.0 | |
| 53 | API calls | |
| 60 | populate data model | |
| 66 | save model to cache | |
| 100 | over limit! |
App.php
| Type | Line | Description |
|---|---|---|
| 7 | gscloud.cz/LICENSE | |
| 8 | lasagna.gscloud.cz | |
| 18 | USER-DEFINED ERROR HANDLER | |
| 21 | this error code is not included in error_reporting | |
| 28 | SANITY CHECK | |
| 40 | DATA POPULATION | |
| 43 | backup | |
| 54 | ${host}/" : "http://${host}/") : ""; | |
| 91 | set GCP_KEYS ENV variable | |
| 124 | CACHING PROFILES | |
| 126 | CSV cold storage | |
| 131 | access limiter | |
| 133 | public web page, user not logged | |
| 143 | use REDIS | |
| 145 | fallback File engine | |
| 155 | use fallback | |
| 166 | no REDIS !!! | |
| 168 | File engine | |
| 176 | File engine | |
| 186 | MULTI-SITE PROFILES | |
| 189 | ", "", (string) ($cfg["canonical_url"] ?? "")), "/") ?? DOMAIN)], | |
| 198 | ", "", (string) ($cfg["goauth_origin"] ?? ""))); | |
| 203 | DATA POPULATION | |
| 209 | ROUTING CONFIGURATION | |
| 211 | configuration can override defaults | |
| 231 | ROUTER DEFAULTS | |
| 244 | ROUTER MAPPINGS | |
| 251 | set homepage hash to default language | |
| 256 | map slash endings | |
| 261 | DATA POPULATION | |
| 265 | CLI HANDLER | |
| 278 | ROUTING | |
| 282 | DATA POPULATION | |
| 286 | "sethl" - set home language | |
| 306 | REDIRECTS | |
| 316 | CSP HEADERS | |
| 318 | skip CSP headers for EPUB reader | |
| 322 | read CSP HEADERS configuration | |
| 329 | SINGLETON CLASS | |
| 333 | set and process model | |
| 335 | get model back | |
| 338 | ANALYTICS DATA | |
| 345 | FINAL HEADERS | |
| 350 | ANALYTICS | |
| 355 | OUTPUT | |
| 358 | DEBUG | |
| 360 | remove private information | |
| 363 | dumps |
APresenter.php
| Type | Line | Description |
|---|---|---|
| 7 | gscloud.cz/LICENSE | |
| 89 | for testing | |
| 110 | docs.google.com/spreadsheets/d/e/"; | |
| 116 | docs.google.com/spreadsheets/d/"; | |
| 127 | GOOGLE TEMPLATES | |
| 131 | docs.google.com/document/d/[FILEID]/export?format=doc"; | |
| 135 | docs.google.com/document/d/[FILEID]/export?format=pdf"; | |
| 139 | docs.google.com/spreadsheets/d/[FILEID]/edit#gid=0"; | |
| 143 | docs.google.com/spreadsheets/d/[FILEID]/view#gid=0"; | |
| 147 | docs.google.com/spreadsheets/d/[FILEID]/export?format=docx"; | |
| 151 | docs.google.com/spreadsheets/d/[FILEID]/export?format=pdf"; | |
| 155 | docs.google.com/spreadsheets/d/[FILEID]/export?format=xlsx"; | |
| 159 | docs.google.com/spreadsheets/d/e/[FILEID]/pub?output=csv"; | |
| 163 | docs.google.com/spreadsheets/d/e/[FILEID]/pubhtml"; | |
| 167 | drive.google.com/a/[DOMAIN]/thumbnail?id=[IMAGEID]"; | |
| 171 | drive.google.com/thumbnail?id=[IMAGEID]"; | |
| 175 | drive.google.com/uc?export=download&id=[FILEID]"; | |
| 179 | drive.google.com/uc?export=view&id=[FILEID]"; | |
| 181 | PRIVATE VARS | |
| 398 | $type: string = 0, template = 1 | |
| 446 | global constants | |
| 469 | class constants | |
| 498 | $data = new model, replace it | |
| 500 | $data = key index | |
| 503 | set new value | |
| 558 | Telegram support | |
| 566 | api.telegram.org/bot" . $apikey . "/sendMessage" . $query); | |
| 674 | nonce file | |
| 696 | nonce | |
| 697 | check all keys | |
| 710 | set other values | |
| 713 | shuffle keys | |
| 720 | set new identity | |
| 723 | encrypted cookie | |
| 725 | clear cookie | |
| 747 | check current identity | |
| 754 | nonce file | |
| 755 | initialize nonce | |
| 756 | set empty identity | |
| 764 | nonce | |
| 765 | empty identity | |
| 774 | URL parameter identity | |
| 779 | set cookie | |
| 780 | {$_SERVER['HTTP_HOST']}{$_SERVER['REQUEST_URI']}"); | |
| 783 | COOKIE identity | |
| 800 | something is terribly wrong!!! | |
| 803 | compare nonces | |
| 804 | $this->setIdentity($q); | |
| 805 | our identity | |
| 809 | set empty / mock identity | |
| 996 | secure key | |
| 1021 | secure key | |
| 1117 | over limits | |
| 1154 | email allowed | |
| 1157 | any Google users allowed | |
| 1162 | not authorized | |
| 1180 | search all groups for email or asterisk | |
| 1250 | 1. read from CSV file | |
| 1260 | 2. read from CSV file backup | |
| 1265 | skip this CSV | |
| 1271 | parse CSV | |
| 1292 | EXTRA locale variable = git revisions | |
| 1295 | find all $ in combined locales array | |
| 1307 | replace $ and $$ | |
| 1319 | second try! | |
| 1406 | contains full path | |
| 1409 | contains path incl. parameters | |
| 1425 | we got HTML document = failure | |
| 1429 | delete old backup | |
| 1435 | move CSV to backup | |
| 1441 | write new CSV | |
| 1484 | read CSV from cache | |
| 1490 | we got HTML document, try backup | |
| 1493 | store into cache | |
| 1494 | OK | |
| 1498 | read CSV backup | |
| 1501 | we got HTML document = failure | |
| 1504 | copy BAK to CSV | |
| 1505 | store into cache | |
| 1506 | OK | |
| 1508 | failure | |
| 1531 | locales | |
| 1536 | last decoding error | |
| 1627 | set corresponding HTTP header | |
| 1630 | output | |
| 1636 | merge headers | |
| 1639 | set data model | |
| 1642 | process extra switches | |
| 1660 | logged user | |
| 1661 | logged user group | |
| 1663 | caching? | |
| 1665 | do not cache pages with ?nonce | |
| 1668 | do not cache pages with ?logout | |
| 1674 | do not cache anything for logged users | |
| 1679 | language | |
| 1685 | locale | |
| 1695 | compute data hash | |
| 1698 | extract request path slug |
ArticlePresenter.php
| Type | Line | Description |
|---|---|---|
| 7 | gscloud.cz/LICENSE | |
| 27 | get current Presenter and View | |
| 31 | process rate limiting + set HTML header + expand current data model | |
| 35 | process advanced caching | |
| 42 | fix current locale | |
| 49 | turn ON article view in content switcher | |
| 52 | output rendering | |
| 55 | strip comments | |
| 58 | save to page cache | |
| 63 | save output to model |
CiTester.php
| Type | Line | Description |
|---|---|---|
| 7 | gscloud.cz/LICENSE | |
| 100 | setup curl multi | |
| 120 | wait for all curls to finish | |
| 133 | parse results | |
| 143 | get curl data | |
| 148 | separate headers and content | |
| 165 | assert JSON | |
| 189 | assert HTTP code | |
| 196 | OK | |
| 202 | error |
CliPresenter.php
| Type | Line | Description |
|---|---|---|
| 7 | gscloud.cz/LICENSE | |
| 120 | clear all cache profiles |
CorePresenter.php
| Type | Line | Description |
|---|---|---|
| 7 | gscloud.cz/LICENSE | |
| 38 | API calls | |
| 62 | do NOT rate limit this call! | |
| 63 | $this->checkRateLimit(); | |
| 65 | language set by GET parameter | |
| 75 | tweaks | |
| 91 | do NOT rate limit this call! | |
| 92 | $this->checkRateLimit(); | |
| 104 | do NOT rate limit this call! | |
| 105 | $this->checkRateLimit(); | |
| 117 | do NOT rate limit this call! | |
| 118 | $this->checkRateLimit(); | |
| 120 | set to English | |
| 123 | get items map from RSSPresenter | |
| 134 | special rate limit value! | |
| 136 | extra check | |
| 151 | ERROR | |
| 153 | homepage | |
| 166 | ERROR - file not found! | |
| 186 | in-RAM cache | |
| 203 | find <body> content if possible | |
| 214 | remove script tags | |
| 215 | remove HTML comments | |
| 244 | ERROR | |
| 257 | finish here - just not to mangle the PNG! | |
| 261 | do NOT rate limit this call! | |
| 294 | do not link to path with parameters! | |
| 366 | ERROR | |
| 378 | NOT MODIFIED | |
| 392 | get language and locale | |
| 423 | "de", |
Doctor.php
| Type | Line | Description |
|---|---|---|
| 7 | gscloud.cz/LICENSE |
ErrorPresenter.php
| Type | Line | Description |
|---|---|---|
| 7 | gscloud.cz/LICENSE | |
| 57 | add audit message for non-empty referer | |
| 62 | set error image |
HomePresenter.php
| Type | Line | Description |
|---|---|---|
| 7 | gscloud.cz/LICENSE | |
| 27 | get current Presenter and View | |
| 31 | process rate limiting + set HTML header + expand current data model | |
| 35 | process advanced caching | |
| 42 | fix current locale | |
| 49 | output rendering | |
| 52 | strip comments | |
| 55 | save to page cache | |
| 60 | save output to model |
LoginPresenter.php
| Type | Line | Description |
|---|---|---|
| 7 | gscloud.cz/LICENSE | |
| 32 | set return URI | |
| 43 | set OAuth 2.0 credentials | |
| 50 | check for errors | |
| 58 | check URL for relogin parameter | |
| 77 | get access token | |
| 81 | get owner details | |
| 101 | set Tracy debug cookie | |
| 106 | store email for the next run | |
| 116 | error |
LogoutPresenter.php
| Type | Line | Description |
|---|---|---|
| 7 | gscloud.cz/LICENSE |
RSSPresenter.php
| Type | Line | Description |
|---|---|---|
| 7 | gscloud.cz/LICENSE |
StringFilters.php
| Type | Line | Description |
|---|---|---|
| 7 | gscloud.cz/LICENSE | |
| 67 | fix for the beginning of the string | |
| 108 | fix only comments inside body | |
| 114 | fix the whole string (there is no <body) |
UnitTester.php
| Type | Line | Description |
|---|---|---|
| 7 | gscloud.cz/LICENSE |
Bootstrap.php
| Type | Line | Description |
|---|---|---|
| 7 | gscloud.cz/LICENSE | |
| 8 | lasagna.gscloud.cz | |
| 23 | CONSTANTS ARE IN SPECIFIC ORDER *** DO NOT ADD DIRECTORY SEPARATOR FOR FOLDERS! | |
| 76 | load COMPOSER | |
| 79 | read CONFIGURATION | |
| 89 | set DEFAULT TIME ZONE | |
| 92 | set DEBUGGER | |
| 93 | for LOCALHOST only | |
| 95 | force DISABLED via configuration | |
| 97 | always ENABLED for localhost | |
| 100 | DISABLED for CLI | |
| 103 | DISABLED for curl | |
| 105 | set via configuration or DISABLED | |
| 107 | https://api.nette.org/3.0/Tracy/Debugger.html | |
| 108 | https://www.php.net/manual/en/errorfunc.constants.php | |
| 117 | debug cookie name: tracy-debug | |
| 120 | private config value | |
| 125 | turn it ON | |
| 130 | start measuring performance | |
| 133 | load the App |
__localhost_LASAGNA_12e05ca4031b51be225d6710882d6fec.php
| Type | Line | Description |
|---|---|---|
| 12 | 'LOCALHOST' inverted section | |
| 16 | 'l.onesignal_appid' section | |
| 31 | documentation.onesignal.com/docs/onesignal-service-worker-faq --> | |
| 33 | cdn.onesignal.com/sdks/OneSignalSDK.js" async></script> | |
| 59 | documentation.onesignal.com/docs/onesignal-service-worker-faq --> | |
| 63 | cdn.onesignal.com/sdks/OneSignalSDK.js" async></script> |
__localhost_LASAGNA_1963328f0694fa3839ed8368e5528ce6.php
| Type | Line | Description |
|---|---|---|
| 12 | 'minify' inverted section | |
| 16 | 'script_sources' section | |
| 19 | 'css_sources' section | |
| 23 | 'minify' section | |
| 26 | 'design.css_font' section |
__localhost_LASAGNA_2c882de5fd700b40fc13e8468239d418.php
| Type | Line | Description |
|---|---|---|
| 33 | 'rss_items' section |
__localhost_LASAGNA_449d18cf940e0a0dde6da6195e04ce0b.php
| Type | Line | Description |
|---|---|---|
| 26 | 'LOCALHOST' section | |
| 37 | tweaks | |
| 43 | 'admin_group_admin' inverted section | |
| 55 | connect.facebook.net"> | |
| 57 | fonts.googleapis.com"> | |
| 59 | fonts.gstatic.com"> | |
| 61 | platform.twitter.com"> | |
| 63 | www.google-analytics.com"> | |
| 65 | www.google.com"> | |
| 67 | connect.facebook.net"> | |
| 69 | fonts.googleapis.com"> | |
| 71 | fonts.gstatic.com"> | |
| 73 | platform.twitter.com"> | |
| 75 | www.google-analytics.com"> | |
| 77 | www.google.com"> | |
| 79 | 'host' section | |
| 84 | 'canonical_url' section | |
| 246 | GSC init | |
| 365 | 'base' section |
__localhost_LASAGNA_4656bf5cd9d899a1849d79f3acc198fd.php
| Type | Line | Description |
|---|---|---|
| 47 | 'design.background_color' section | |
| 50 | 'design.background_color' inverted section | |
| 59 | 'design.display' section | |
| 62 | 'design.display' inverted section | |
| 79 | 'design.theme_color' section | |
| 82 | 'design.theme_color' inverted section |
__localhost_LASAGNA_6a3a2056316106ac516d2e59bd8da7d0.php
| Type | Line | Description |
|---|---|---|
| 32 | 'langcs' section | |
| 35 | 'langen' section | |
| 48 | 'langcs' section | |
| 52 | 'langcs' inverted section | |
| 70 | 'langen' section | |
| 74 | 'langen' inverted section |
__localhost_LASAGNA_77280daf08cebf2e0be6e8055c595290.php
| Type | Line | Description |
|---|---|---|
| 27 | 'sitemap' section | |
| 158 | console.log("fetch event for", event.request.url); | |
| 192 | console.log("caching %s response", event.request.url); |
__localhost_LASAGNA_79cceb2842a094899a7a3931939dd098.php
| Type | Line | Description |
|---|---|---|
| 20 | 'langcs' section | |
| 37 | 'langen' section | |
| 51 | 'l.company_facebook' section | |
| 54 | 'l.company_instagram' section | |
| 97 | facebook.com/{{ l.company_facebook }}"> | |
| 116 | facebook.com/'; | |
| 139 | instagram.com/{{ l.company_instagram }}"> | |
| 158 | instagram.com/'; |
__localhost_LASAGNA_7eadbc146bbf1e6b58130840b224f9c7.php
| Type | Line | Description |
|---|---|---|
| 12 | 'admin_group_admin' section | |
| 17 | 'admin_group_editor' section | |
| 22 | 'admin_group_tester' section | |
| 260 | 'GET.profile' section | |
| 265 | 'GET.profile' inverted section | |
| 653 | myaccount.google.com/dashboard"> | |
| 657 | passwords.google.com"> | |
| 662 | search.google.com/search-console?resource_id={{ canonical_url }}"> | |
| 667 | analytics.google.com/analytics/web/{{/google.analytics}}"> | |
| 671 | app.onesignal.com/login"> | |
| 898 | github.com/gscloud"><i class="fab fa-git"></i></a> | |
| 900 | sys.gscloud.cz"> | |
| 909 | php.gscloud.cz" style="font-size:0.8em"> | |
| 989 | cdnjs.cloudflare.com/ajax/libs/codemirror/5.58.3/codemirror.min.css" rel="stylesheet"> | |
| 990 | cdnjs.cloudflare.com/ajax/libs/codemirror/5.58.3/theme/material-darker.min.css" rel="stylesheet"> | |
| 991 | cdnjs.cloudflare.com/ajax/libs/codemirror/5.58.3/addon/display/fullscreen.min.css" rel="stylesheet"> | |
| 992 | cdnjs.cloudflare.com/ajax/libs/codemirror/5.58.3/codemirror.min.js" defer></script> | |
| 993 | cdnjs.cloudflare.com/ajax/libs/codemirror/5.58.3/mode/xml/xml.min.js" defer></script> | |
| 994 | cdnjs.cloudflare.com/ajax/libs/codemirror/5.58.3/addon/display/fullscreen.min.js" defer></script> | |
| 1171 | myaccount.google.com/dashboard"> | |
| 1185 | passwords.google.com"> | |
| 1201 | search.google.com/search-console?resource_id='; | |
| 1221 | 'google.analytics' section | |
| 1224 | 'google.analytics' inverted section | |
| 1228 | analytics.google.com/analytics/web/'; | |
| 1244 | app.onesignal.com/login"> | |
| 1263 | 'external_links' section | |
| 1322 | 'multisite_names' section | |
| 1395 | 'request_path_slug' section | |
| 1400 | 'request_path_slug' inverted section | |
| 1404 | 'GET.profile' section | |
| 1409 | 'GET.profile' inverted section | |
| 1627 | 'gcp_project_id' inverted section | |
| 1641 | 'google.map_query' inverted section | |
| 1652 | 'google.mapsapi_key' section | |
| 1655 | 'google.mapsapi_key' inverted section | |
| 1669 | 'google.ua' inverted section | |
| 1680 | 'google.pagespeedinsights_key' section | |
| 1683 | 'google.pagespeedinsights_key' inverted section | |
| 1692 | 'l.onesignal_appid' inverted section | |
| 1764 | github.com/gscloud"><i class="fab fa-git"></i></a> | |
| 1774 | sys.gscloud.cz"> | |
| 1816 | php.gscloud.cz" style="font-size:0.8em"> | |
| 1820 | 'google_drive_backup' section | |
| 1925 | 'admin_groups.admin' section | |
| 1931 | 'admin_groups.admin' inverted section | |
| 1946 | 'admin_groups.editor' section | |
| 1952 | 'admin_groups.editor' inverted section | |
| 1967 | 'admin_groups.tester' section | |
| 1973 | 'admin_groups.tester' inverted section | |
| 1988 | 'admin_groups.default' section | |
| 1994 | 'admin_groups.default' inverted section | |
| 2041 | cdnjs.cloudflare.com/ajax/libs/codemirror/5.58.3/codemirror.min.css" rel="stylesheet"> | |
| 2043 | cdnjs.cloudflare.com/ajax/libs/codemirror/5.58.3/theme/material-darker.min.css" rel="stylesheet"> | |
| 2045 | cdnjs.cloudflare.com/ajax/libs/codemirror/5.58.3/addon/display/fullscreen.min.css" rel="stylesheet"> | |
| 2047 | cdnjs.cloudflare.com/ajax/libs/codemirror/5.58.3/codemirror.min.js" defer></script> | |
| 2049 | cdnjs.cloudflare.com/ajax/libs/codemirror/5.58.3/mode/xml/xml.min.js" defer></script> | |
| 2051 | cdnjs.cloudflare.com/ajax/libs/codemirror/5.58.3/addon/display/fullscreen.min.js" defer></script> | |
| 2063 | 'langcs' section |
__localhost_LASAGNA_8bfa3bfe91f826792d37c6bceb1e43f2.php
| Type | Line | Description |
|---|---|---|
| 59 | 'LOCALHOST' section | |
| 62 | 'LOCALHOST' inverted section | |
| 72 | 'sha256_nonce' section | |
| 95 | 'LOCALHOST' section | |
| 98 | 'LOCALHOST' inverted section | |
| 108 | 'sha256_nonce' section | |
| 162 | mxd.cz/'; | |
| 172 | gscloud.cz/'; | |
| 186 | gscloud.cz/privacy-policy.pdf">'; | |
| 200 | github.com/GSCloud/lasagna"><i class="fab fa-git"></i></a> | |
| 281 | 'sha256_nonce' section | |
| 333 | 'sha256_nonce' section |
__localhost_LASAGNA_9405db93c2d96db5d34146d0a114373d.php
| Type | Line | Description |
|---|---|---|
| 14 | www.sitemaps.org/schemas/sitemap/0.9"> | |
| 16 | 'sitemap' section |
__localhost_LASAGNA_9666968428bc8620609c2cff0cf7aea4.php
| Type | Line | Description |
|---|---|---|
| 12 | 'container_switch_article' section | |
| 17 | 'container_switch_form' section | |
| 22 | 'container_switch_article' inverted section |
__localhost_LASAGNA_a0f7ea88cccfa1038f5cd3d8bcb619d9.php
| Type | Line | Description |
|---|---|---|
| 23 | 'LOCALHOST' section | |
| 34 | tweaks | |
| 42 | 'host' section | |
| 47 | 'canonical_url' section | |
| 178 | 'apis' section | |
| 268 | 'base' section | |
| 482 | 'linkit' section | |
| 485 | 'linkit' inverted section | |
| 502 | 'count' section | |
| 505 | 'exam' section |
__localhost_LASAGNA_b8258478bec033b09acd1db88ac3a1d3.php
| Type | Line | Description |
|---|---|---|
| 12 | 'android_app' section | |
| 15 | 'google.google-site-verification' section | |
| 21 | 'design.status_bar' section | |
| 24 | 'design.status_bar' inverted section | |
| 73 | 'l.meta_viewport' section | |
| 76 | 'l.meta_viewport' inverted section | |
| 84 | developers.facebook.com/docs/opengraph/#types --> | |
| 96 | 'l.fb_admins' section | |
| 101 | 'l.fb_app_id' section | |
| 106 | 'langcs' section | |
| 109 | 'langen' section | |
| 118 | 'l.og_image' section | |
| 121 | 'l.og_image' inverted section | |
| 142 | 'l.og_type' section | |
| 145 | 'l.og_type' inverted section | |
| 154 | 'l.og_url' section | |
| 157 | 'l.og_url' inverted section | |
| 168 | dev.twitter.com/cards --> | |
| 171 | 'l.twitter_card' section | |
| 174 | 'l.twitter_card' inverted section | |
| 193 | 'l.twitter_image' section | |
| 196 | 'l.twitter_image' inverted section | |
| 207 | 'l.twitter_site' section | |
| 210 | 'l.twitter_site' inverted section | |
| 224 | 'l.twitter_url' section | |
| 227 | 'l.twitter_url' inverted section | |
| 249 | {{ android_app }}"> | |
| 269 | '; |
__localhost_LASAGNA_c51eb2231273252ff4c36780e04070ab.php
| Type | Line | Description |
|---|---|---|
| 18 | polyfills | |
| 30 | add scroll progress bar element | |
| 40 | scroll progress bar | |
| 56 | check network status | |
| 96 | "online" feature detection and binding | |
| 114 | setCookie() general function | |
| 124 | session cookie | |
| 132 | time is in miliseconds! | |
| 142 | getCookie() general function | |
| 156 | delCookie() general function | |
| 172 | GSC namespace | |
| 177 | 'admin_group_admin' section | |
| 180 | 'admin_group_admin' inverted section | |
| 189 | 'admin_group_editor' section | |
| 192 | 'admin_group_editor' inverted section | |
| 201 | 'admin' section | |
| 204 | 'admin' inverted section | |
| 213 | 'admin_group_tester' section | |
| 216 | 'admin_group_tester' inverted section | |
| 233 | feature detection: "touch" | |
| 241 | GSC.FormatBytes() | |
| 263 | GSC.GetTime() | |
| 443 | Czech locale | |
| 452 | English locale | |
| 466 | GSC.CopyClipboard() | |
| 504 | GSC.GetFileExtension() - parse filename and get a file extension | |
| 520 | GSC.CopyThisText() - copy text from an element to clipboard / or copy data element | |
| 540 | GSC.CopyThisHtml() - copy HTML from an element to clipboard | |
| 560 | GSC.VersionCheck() | |
| 580 | console.log("UPDATE: core version check failed!"); | |
| 603 | console.log("UPDATE: '; | |
| 616 | do repeat checks | |
| 624 | do repeat checks | |
| 632 | GSC.SetProfile() | |
| 670 | GSC.ReadArticles() - read remote articles / create HTML parts | |
| 680 | do repeat checks | |
| 722 | fix classnames for Summernote | |
| 742 | do repeat checks | |
| 775 | DELAYED UI bindings | |
| 781 | set SK language | |
| 789 | set CS language | |
| 797 | set EN language | |
| 805 | set UPDATE button | |
| 809 | window.location.replace("/admin/clearcache"); // too slow! | |
| 815 | set default bullets for Summernote data | |
| 823 | create HOME button | |
| 834 | create mobile WebShare button for touch devices | |
| 855 | create LOGIN buttons | |
| 857 | 'LOCALHOST' section | |
| 860 | 'LOCALHOST' inverted section |
__localhost_LASAGNA_d06218a79084f423cf530e33182510ce.php
| Type | Line | Description |
|---|---|---|
| 12 | 'sitemap' section |
__localhost_LASAGNA_fa3f34d5c6e7f598a6cc64fb9866dc5d.php
| Type | Line | Description |
|---|---|---|
| 12 | 'ga_disable' inverted section | |
| 16 | 'LOCALHOST' inverted section | |
| 20 | 'google.ua' section | |
| 36 | www.googletagmanager.com/gtag/js?id={{ google.ua }}" async></script> | |
| 60 | www.googletagmanager.com/gtag/js?id='; |
Dot.php
| Type | Line | Description |
|---|---|---|
| 6 | github.com/adbario/php-dot-notation | |
| 7 | github.com/adbario/php-dot-notation/blob/2.x/LICENSE.md (MIT License) |
helpers.php
| Type | Line | Description |
|---|---|---|
| 6 | github.com/adbario/php-dot-notation | |
| 7 | github.com/adbario/php-dot-notation/blob/2.x/LICENSE.md (MIT License) |
AltoRouter.php
| Type | Line | Description |
|---|---|---|
| 129 | Check if named route exists | |
| 134 | Replace named parameters | |
| 137 | prepend base path to route url again | |
| 173 | set Request Url if it isn't passed as parameter | |
| 178 | strip base path from request url | |
| 181 | Strip query string (?a=b) from Request Url | |
| 186 | set Request Method if it isn't passed as a parameter | |
| 197 | Check if request method matches. If not, abandon early. (CHEAP) | |
| 205 | Method did not match, continue to next route. | |
| 208 | Check for a wildcard (matches all) | |
| 221 | Find the longest non-regex substring and match it against the URI | |
| 279 | Older versions of PCRE require the 'P' in (?P<named>) |
autoload.php
| Type | Line | Description |
|---|---|---|
| 3 | autoload.php @generated by Composer |
Cache.php
| Type | Line | Description |
|---|---|---|
| 5 | cakephp.org) | |
| 6 | cakefoundation.org) | |
| 12 | cakefoundation.org) | |
| 13 | cakephp.org CakePHP(tm) Project | |
| 15 | opensource.org/licenses/mit-license.php MIT License |
CacheEngine.php
| Type | Line | Description |
|---|---|---|
| 5 | cakephp.org) | |
| 6 | cakefoundation.org) | |
| 12 | cakefoundation.org) | |
| 13 | cakephp.org CakePHP(tm) Project | |
| 15 | opensource.org/licenses/mit-license.php MIT License |
CacheEngineInterface.php
| Type | Line | Description |
|---|---|---|
| 5 | cakephp.org) | |
| 6 | cakefoundation.org) | |
| 12 | cakefoundation.org) | |
| 13 | cakephp.org CakePHP(tm) Project | |
| 15 | opensource.org/licenses/mit-license.php MIT License |
CacheRegistry.php
| Type | Line | Description |
|---|---|---|
| 5 | cakephp.org) | |
| 6 | cakefoundation.org) | |
| 12 | cakefoundation.org) | |
| 13 | cakephp.org CakePHP(tm) Project | |
| 15 | opensource.org/licenses/mit-license.php MIT License |
ApcuEngine.php
| Type | Line | Description |
|---|---|---|
| 5 | cakephp.org) | |
| 6 | cakefoundation.org) | |
| 12 | cakefoundation.org) | |
| 13 | cakephp.org CakePHP(tm) Project | |
| 15 | opensource.org/licenses/mit-license.php MIT License | |
| 62 | secure.php.net/manual/en/function.apcu-store.php | |
| 79 | secure.php.net/manual/en/function.apcu-fetch.php | |
| 97 | secure.php.net/manual/en/function.apcu-inc.php | |
| 112 | secure.php.net/manual/en/function.apcu-dec.php | |
| 126 | secure.php.net/manual/en/function.apcu-delete.php | |
| 139 | secure.php.net/manual/en/function.apcu-cache-info.php | |
| 140 | secure.php.net/manual/en/function.apcu-delete.php | |
| 154 | Raises warning by itself already | |
| 171 | secure.php.net/manual/en/function.apcu-add.php | |
| 187 | secure.php.net/manual/en/function.apcu-fetch.php | |
| 188 | secure.php.net/manual/en/function.apcu-store.php | |
| 230 | secure.php.net/manual/en/function.apcu-inc.php |
ArrayEngine.php
| Type | Line | Description |
|---|---|---|
| 5 | cakephp.org) | |
| 6 | cakefoundation.org) | |
| 12 | cakefoundation.org) | |
| 13 | cakephp.org CakePHP(tm) Project | |
| 15 | opensource.org/licenses/mit-license.php MIT License | |
| 77 | Check expiration |
FileEngine.php
| Type | Line | Description |
|---|---|---|
| 5 | cakephp.org) | |
| 6 | cakefoundation.org) | |
| 12 | cakefoundation.org) | |
| 13 | cakephp.org CakePHP(tm) Project | |
| 15 | opensource.org/licenses/mit-license.php MIT License | |
| 226 | phpcs:disable | |
| 228 | phpcs:enable | |
| 273 | possible inner iterators need to be unset too in order for locks on parents to be released | |
| 277 | unsetting iterators helps releasing possible locks in certain environments, | |
| 278 | which could otherwise make `rmdir()` fail | |
| 318 | phpcs:disable | |
| 320 | phpcs:enable | |
| 416 | phpcs:disable | |
| 418 | phpcs:enable | |
| 491 | phpcs:ignore | |
| 495 | unsetting iterators helps releasing possible locks in certain environments, | |
| 496 | which could otherwise make `rmdir()` fail |
MemcachedEngine.php
| Type | Line | Description |
|---|---|---|
| 5 | cakephp.org) | |
| 6 | cakefoundation.org) | |
| 12 | cakefoundation.org) | |
| 13 | cakephp.org CakePHP(tm) Project | |
| 15 | opensource.org/licenses/mit-license.php MIT License | |
| 235 | Check for Amazon ElastiCache instance | |
| 261 | '; | |
| 288 | secure.php.net/manual/en/memcached.getoption.php | |
| 307 | www.php.net/manual/en/memcached.set.php |
NullEngine.php
| Type | Line | Description |
|---|---|---|
| 5 | cakephp.org) | |
| 6 | cakefoundation.org) | |
| 12 | cakefoundation.org) | |
| 13 | cakephp.org CakePHP(tm) Project | |
| 15 | opensource.org/licenses/mit-license.php MIT License |
RedisEngine.php
| Type | Line | Description |
|---|---|---|
| 5 | cakephp.org) | |
| 6 | cakefoundation.org) | |
| 12 | cakefoundation.org) | |
| 13 | cakephp.org CakePHP(tm) Project | |
| 15 | opensource.org/licenses/mit-license.php MIT License | |
| 266 | github.com/phpredis/phpredis#set | |
| 323 | github.com/phpredis/phpredis/issues/81 |
WincacheEngine.php
| Type | Line | Description |
|---|---|---|
| 5 | cakephp.org) | |
| 6 | cakefoundation.org) | |
| 12 | cakefoundation.org) | |
| 13 | cakephp.org CakePHP(tm) Project | |
| 15 | opensource.org/licenses/mit-license.php MIT License |
InvalidArgumentException.php
| Type | Line | Description |
|---|---|---|
| 5 | cakephp.org) | |
| 6 | cakefoundation.org) | |
| 12 | cakefoundation.org) | |
| 13 | cakephp.org CakePHP(tm) Project | |
| 15 | opensource.org/licenses/mit-license.php MIT License |
App.php
| Type | Line | Description |
|---|---|---|
| 5 | cakephp.org) | |
| 6 | cakefoundation.org) | |
| 12 | cakefoundation.org) | |
| 13 | cakephp.org CakePHP(tm) Project | |
| 15 | opensource.org/licenses/mit-license.php MIT License | |
| 41 | book.cakephp.org/4/en/core-libraries/app.html | |
| 186 | book.cakephp.org/4/en/core-libraries/app.html#finding-paths-to-namespaces |
BasePlugin.php
| Type | Line | Description |
|---|---|---|
| 5 | cakephp.org) | |
| 6 | cakefoundation.org) | |
| 11 | cakefoundation.org) | |
| 12 | cakephp.org CakePHP(tm) Project | |
| 14 | opensource.org/licenses/mit-license.php MIT License | |
| 158 | Trim off src |
ClassLoader.php
| Type | Line | Description |
|---|---|---|
| 5 | cakephp.org) | |
| 6 | cakefoundation.org) | |
| 11 | cakefoundation.org) | |
| 12 | cakephp.org CakePHP(tm) Project | |
| 14 | opensource.org/licenses/mit-license.php MIT License |
ConfigEngineInterface.php
| Type | Line | Description |
|---|---|---|
| 5 | cakephp.org) | |
| 6 | cakefoundation.org) | |
| 12 | cakefoundation.org) | |
| 13 | cakephp.org CakePHP(tm) Project | |
| 15 | opensource.org/licenses/mit-license.php MIT License |
IniConfig.php
| Type | Line | Description |
|---|---|---|
| 5 | cakephp.org) | |
| 6 | cakefoundation.org) | |
| 12 | cakefoundation.org) | |
| 13 | cakephp.org CakePHP(tm) Project | |
| 15 | opensource.org/licenses/mit-license.php MIT License | |
| 54 | secure.php.net/parse_ini_file |
JsonConfig.php
| Type | Line | Description |
|---|---|---|
| 5 | cakephp.org) | |
| 6 | cakefoundation.org) | |
| 12 | cakefoundation.org) | |
| 13 | cakephp.org CakePHP(tm) Project | |
| 15 | opensource.org/licenses/mit-license.php MIT License |
PhpConfig.php
| Type | Line | Description |
|---|---|---|
| 5 | cakephp.org) | |
| 6 | cakefoundation.org) | |
| 12 | cakefoundation.org) | |
| 13 | cakephp.org CakePHP(tm) Project | |
| 15 | opensource.org/licenses/mit-license.php MIT License |
FileConfigTrait.php
| Type | Line | Description |
|---|---|---|
| 5 | cakephp.org) | |
| 6 | cakefoundation.org) | |
| 12 | cakefoundation.org) | |
| 13 | cakephp.org CakePHP(tm) Project | |
| 15 | opensource.org/licenses/mit-license.php MIT License |
Configure.php
| Type | Line | Description |
|---|---|---|
| 5 | cakephp.org) | |
| 6 | cakefoundation.org) | |
| 12 | cakefoundation.org) | |
| 13 | cakephp.org CakePHP(tm) Project | |
| 15 | opensource.org/licenses/mit-license.php MIT License | |
| 33 | book.cakephp.org/4/en/development/configuration.html | |
| 83 | book.cakephp.org/4/en/development/configuration.html#writing-configuration-data | |
| 118 | book.cakephp.org/4/en/development/configuration.html#reading-configuration-data | |
| 161 | book.cakephp.org/4/en/development/configuration.html#reading-configuration-data | |
| 183 | book.cakephp.org/4/en/development/configuration.html#deleting-configuration-data | |
| 325 | book.cakephp.org/4/en/development/configuration.html#reading-and-writing-configuration-files |
ConsoleApplicationInterface.php
| Type | Line | Description |
|---|---|---|
| 5 | cakephp.org) | |
| 6 | cakefoundation.org) | |
| 11 | cakefoundation.org) | |
| 12 | cakephp.org CakePHP(tm) Project | |
| 14 | opensource.org/licenses/mit-license.php MIT License |
Container.php
| Type | Line | Description |
|---|---|---|
| 5 | cakephp.org) | |
| 6 | cakefoundation.org) | |
| 12 | cakefoundation.org) | |
| 13 | cakephp.org CakePHP(tm) Project | |
| 15 | opensource.org/licenses/mit-license.php MIT License |
ContainerApplicationInterface.php
| Type | Line | Description |
|---|---|---|
| 5 | cakephp.org) | |
| 6 | cakefoundation.org) | |
| 12 | cakefoundation.org) | |
| 13 | cakephp.org CakePHP(tm) Project | |
| 15 | opensource.org/licenses/mit-license.php MIT License |
ContainerInterface.php
| Type | Line | Description |
|---|---|---|
| 5 | cakephp.org) | |
| 6 | cakefoundation.org) | |
| 12 | cakefoundation.org) | |
| 13 | cakephp.org CakePHP(tm) Project | |
| 15 | opensource.org/licenses/mit-license.php MIT License |
ConventionsTrait.php
| Type | Line | Description |
|---|---|---|
| 5 | cakephp.org) | |
| 6 | cakefoundation.org) | |
| 12 | cakefoundation.org) | |
| 13 | cakephp.org CakePHP(tm) Project | |
| 15 | opensource.org/licenses/mit-license.php MIT License |
CakeException.php
| Type | Line | Description |
|---|---|---|
| 5 | cakephp.org) | |
| 6 | cakefoundation.org) | |
| 11 | cakefoundation.org) | |
| 13 | opensource.org/licenses/mit-license.php MIT License | |
| 117 | phpcs:disable | |
| 119 | phpcs:enable |
Exception.php
| Type | Line | Description |
|---|---|---|
| 5 | cakephp.org) | |
| 6 | cakefoundation.org) | |
| 11 | cakefoundation.org) | |
| 13 | opensource.org/licenses/mit-license.php MIT License |
MissingPluginException.php
| Type | Line | Description |
|---|---|---|
| 5 | cakephp.org) | |
| 6 | cakefoundation.org) | |
| 11 | cakefoundation.org) | |
| 13 | opensource.org/licenses/mit-license.php MIT License |
functions.php
| Type | Line | Description |
|---|---|---|
| 5 | cakephp.org) | |
| 6 | cakefoundation.org) | |
| 12 | cakefoundation.org) | |
| 13 | cakephp.org CakePHP(tm) Project | |
| 15 | opensource.org/licenses/mit-license.php MIT License | |
| 39 | book.cakephp.org/4/en/core-libraries/global-constants-and-functions.html#h | |
| 44 | optimize for strings | |
| 86 | book.cakephp.org/4/en/core-libraries/global-constants-and-functions.html#pluginSplit | |
| 138 | book.cakephp.org/4/en/core-libraries/global-constants-and-functions.html#pr | |
| 167 | book.cakephp.org/4/en/core-libraries/global-constants-and-functions.html#pj | |
| 193 | book.cakephp.org/4/en/core-libraries/global-constants-and-functions.html#env | |
| 202 | ') === 0; |
HttpApplicationInterface.php
| Type | Line | Description |
|---|---|---|
| 5 | cakephp.org) | |
| 6 | cakefoundation.org) | |
| 11 | cakefoundation.org) | |
| 12 | cakephp.org CakePHP(tm) Project | |
| 14 | opensource.org/licenses/mit-license.php MIT License |
InstanceConfigTrait.php
| Type | Line | Description |
|---|---|---|
| 5 | cakephp.org) | |
| 6 | cakefoundation.org) | |
| 12 | cakefoundation.org) | |
| 13 | cakephp.org CakePHP(tm) Project | |
| 15 | opensource.org/licenses/mit-license.php MIT License |
ObjectRegistry.php
| Type | Line | Description |
|---|---|---|
| 5 | cakephp.org) | |
| 6 | cakefoundation.org) | |
| 12 | cakefoundation.org) | |
| 13 | cakephp.org CakePHP(tm) Project | |
| 15 | opensource.org/licenses/mit-license.php MIT License | |
| 345 | Just call unload if the object was loaded before |
Plugin.php
| Type | Line | Description |
|---|---|---|
| 5 | cakephp.org) | |
| 6 | cakefoundation.org) | |
| 12 | cakefoundation.org) | |
| 13 | cakephp.org CakePHP(tm) Project | |
| 15 | opensource.org/licenses/mit-license.php MIT License | |
| 24 | book.cakephp.org/4/en/plugins.html |
PluginApplicationInterface.php
| Type | Line | Description |
|---|---|---|
| 5 | cakephp.org) | |
| 6 | cakefoundation.org) | |
| 12 | cakefoundation.org) | |
| 13 | cakephp.org CakePHP(tm) Project | |
| 15 | opensource.org/licenses/mit-license.php MIT License |
PluginCollection.php
| Type | Line | Description |
|---|---|---|
| 5 | cakephp.org) | |
| 6 | cakefoundation.org) | |
| 11 | cakefoundation.org) | |
| 12 | cakephp.org CakePHP(tm) Project | |
| 14 | opensource.org/licenses/mit-license.php MIT License | |
| 125 | Ensure plugin config is loaded each time. This is necessary primarily | |
| 126 | for testing because the Configure::clear() call in TestCase::tearDown() | |
| 127 | wipes out all configuration including plugin paths config. |
PluginInterface.php
| Type | Line | Description |
|---|---|---|
| 5 | cakephp.org) | |
| 6 | cakefoundation.org) | |
| 10 | cakefoundation.org) | |
| 11 | cakephp.org CakePHP(tm) Project | |
| 13 | opensource.org/licenses/mit-license.php MIT License |
CommandRetry.php
| Type | Line | Description |
|---|---|---|
| 5 | cakephp.org) | |
| 6 | cakefoundation.org) | |
| 12 | cakefoundation.org) | |
| 13 | cakephp.org CakePHP(tm) Project | |
| 15 | opensource.org/licenses/mit-license.php MIT License |
RetryStrategyInterface.php
| Type | Line | Description |
|---|---|---|
| 5 | cakephp.org) | |
| 6 | cakefoundation.org) | |
| 12 | cakefoundation.org) | |
| 13 | cakephp.org CakePHP(tm) Project | |
| 15 | opensource.org/licenses/mit-license.php MIT License |
ServiceConfig.php
| Type | Line | Description |
|---|---|---|
| 5 | cakephp.org) | |
| 6 | cakefoundation.org) | |
| 12 | cakefoundation.org) | |
| 13 | cakephp.org CakePHP(tm) Project | |
| 15 | opensource.org/licenses/mit-license.php MIT License |
ServiceProvider.php
| Type | Line | Description |
|---|---|---|
| 5 | cakephp.org) | |
| 6 | cakefoundation.org) | |
| 12 | cakefoundation.org) | |
| 13 | cakephp.org CakePHP(tm) Project | |
| 15 | opensource.org/licenses/mit-license.php MIT License |
StaticConfigTrait.php
| Type | Line | Description |
|---|---|---|
| 5 | cakephp.org) | |
| 6 | cakefoundation.org) | |
| 12 | cakefoundation.org) | |
| 13 | cakephp.org CakePHP(tm) Project | |
| 15 | opensource.org/licenses/mit-license.php MIT License | |
| 188 | user:pass@localhost/database?'; | |
| 191 | ?types=notice,info,debug&file=debug&path=LOGS'; | |
| 194 | user:secret@localhost:25?timeout=30&client=null&tls=null'; | |
| 197 | /?className=\My\Cache\Engine\FileEngine'; | |
| 200 | ?prefix=myapp_cake_core_&serialize=true&duration=+2 minutes&path=/tmp/persistent/'; | |
| 224 | ) |
bootstrap.php
| Type | Line | Description |
|---|---|---|
| 5 | cakephp.org) | |
| 6 | cakefoundation.org) | |
| 12 | cakefoundation.org) | |
| 13 | cakephp.org CakePHP(tm) Project | |
| 15 | opensource.org/licenses/mit-license.php MIT License | |
| 20 | Store the initial state |
CookieCryptTrait.php
| Type | Line | Description |
|---|---|---|
| 5 | cakephp.org) | |
| 6 | cakefoundation.org) | |
| 12 | cakefoundation.org) | |
| 13 | cakephp.org CakePHP(tm) Project | |
| 15 | opensource.org/licenses/mit-license.php MIT License | |
| 26 | book.cakephp.org/4/en/controllers/components/cookie.html |
OpenSsl.php
| Type | Line | Description |
|---|---|---|
| 5 | cakephp.org) | |
| 6 | cakefoundation.org) | |
| 12 | cakefoundation.org) | |
| 13 | cakephp.org CakePHP(tm) Project | |
| 15 | opensource.org/licenses/mit-license.php MIT License |
XmlException.php
| Type | Line | Description |
|---|---|---|
| 5 | cakephp.org) | |
| 6 | cakefoundation.org) | |
| 11 | cakefoundation.org) | |
| 13 | opensource.org/licenses/mit-license.php MIT License |
Hash.php
| Type | Line | Description |
|---|---|---|
| 5 | cakephp.org) | |
| 6 | cakefoundation.org) | |
| 12 | cakefoundation.org) | |
| 14 | opensource.org/licenses/mit-license.php MIT License | |
| 31 | book.cakephp.org/4/en/core-libraries/hash.html | |
| 47 | book.cakephp.org/4/en/core-libraries/hash.html#Cake\Utility\Hash::get | |
| 123 | book.cakephp.org/4/en/core-libraries/hash.html#Cake\Utility\Hash::extract | |
| 137 | Simple paths. | |
| 174 | Filter for attributes. | |
| 256 | Presence test. | |
| 266 | Empty attribute = fail. | |
| 284 | Pattern matches and other operators. | |
| 289 | phpcs:disable | |
| 297 | phpcs:enable | |
| 314 | book.cakephp.org/4/en/core-libraries/hash.html#Cake\Utility\Hash::insert | |
| 408 | book.cakephp.org/4/en/core-libraries/hash.html#Cake\Utility\Hash::remove | |
| 468 | book.cakephp.org/4/en/core-libraries/hash.html#Cake\Utility\Hash::combine | |
| 555 | book.cakephp.org/4/en/core-libraries/hash.html#Cake\Utility\Hash::format | |
| 596 | book.cakephp.org/4/en/core-libraries/hash.html#Cake\Utility\Hash::contains | |
| 640 | book.cakephp.org/4/en/core-libraries/hash.html#Cake\Utility\Hash::check | |
| 659 | book.cakephp.org/4/en/core-libraries/hash.html#Cake\Utility\Hash::filter | |
| 691 | book.cakephp.org/4/en/core-libraries/hash.html#Cake\Utility\Hash::flatten | |
| 735 | book.cakephp.org/4/en/core-libraries/hash.html#Cake\Utility\Hash::expand | |
| 772 | book.cakephp.org/4/en/core-libraries/hash.html#Cake\Utility\Hash::merge | |
| 810 | Recurse into the current merge data as it is an array. | |
| 829 | book.cakephp.org/4/en/core-libraries/hash.html#Cake\Utility\Hash::numeric | |
| 849 | book.cakephp.org/4/en/core-libraries/hash.html#Cake\Utility\Hash::dimensions | |
| 876 | book.cakephp.org/4/en/core-libraries/hash.html#Cake\Utility\Hash::maxDimensions | |
| 902 | book.cakephp.org/4/en/core-libraries/hash.html#Cake\Utility\Hash::map | |
| 918 | book.cakephp.org/4/en/core-libraries/hash.html#Cake\Utility\Hash::reduce | |
| 950 | book.cakephp.org/4/en/core-libraries/hash.html#Cake\Utility\Hash::apply | |
| 990 | book.cakephp.org/4/en/core-libraries/hash.html#Cake\Utility\Hash::sort | |
| 1006 | Make sortValues match the data length, as some keys could be missing | |
| 1007 | the sorted value path. | |
| 1010 | Get the path without the leading '{n}.' | |
| 1033 | $type can be overloaded for case insensitive sort | |
| 1109 | book.cakephp.org/4/en/core-libraries/hash.html#Cake\Utility\Hash::diff | |
| 1136 | book.cakephp.org/4/en/core-libraries/hash.html#Cake\Utility\Hash::mergeDiff | |
| 1163 | book.cakephp.org/4/en/core-libraries/hash.html#Cake\Utility\Hash::normalize | |
| 1211 | book.cakephp.org/4/en/core-libraries/hash.html#Cake\Utility\Hash::nest |
Inflector.php
| Type | Line | Description |
|---|---|---|
| 5 | cakephp.org) | |
| 6 | cakefoundation.org) | |
| 12 | cakefoundation.org) | |
| 13 | cakephp.org CakePHP(tm) Project | |
| 15 | opensource.org/licenses/mit-license.php MIT License | |
| 25 | book.cakephp.org/4/en/core-libraries/inflector.html | |
| 265 | book.cakephp.org/4/en/core-libraries/inflector.html#creating-plural-singular-forms | |
| 317 | book.cakephp.org/4/en/core-libraries/inflector.html#creating-plural-singular-forms | |
| 374 | book.cakephp.org/4/en/core-libraries/inflector.html#creating-camelcase-and-under-scored-forms | |
| 397 | book.cakephp.org/4/en/core-libraries/inflector.html#creating-camelcase-and-under-scored-forms | |
| 424 | book.cakephp.org/4/en/core-libraries/inflector.html#creating-human-readable-forms | |
| 470 | book.cakephp.org/4/en/core-libraries/inflector.html#creating-table-and-class-name-forms | |
| 489 | book.cakephp.org/4/en/core-libraries/inflector.html#creating-table-and-class-name-forms | |
| 508 | book.cakephp.org/4/en/core-libraries/inflector.html#creating-variable-names |
MergeVariablesTrait.php
| Type | Line | Description |
|---|---|---|
| 5 | cakephp.org) | |
| 6 | cakefoundation.org) | |
| 11 | cakefoundation.org) | |
| 12 | cakephp.org CakePHP(tm) Project | |
| 14 | opensource.org/licenses/mit-license.php MIT License |
Security.php
| Type | Line | Description |
|---|---|---|
| 5 | cakephp.org) | |
| 6 | cakefoundation.org) | |
| 12 | cakefoundation.org) | |
| 13 | cakephp.org CakePHP(tm) Project | |
| 15 | opensource.org/licenses/mit-license.php MIT License | |
| 61 | book.cakephp.org/4/en/core-libraries/security.html#hashing-data | |
| 204 | Generate the encryption and hmac key. | |
| 251 | Generate the encryption and hmac key. | |
| 254 | Split out hmac for comparison |
Text.php
| Type | Line | Description |
|---|---|---|
| 5 | cakephp.org) | |
| 6 | cakefoundation.org) | |
| 12 | cakefoundation.org) | |
| 13 | cakephp.org CakePHP(tm) Project | |
| 15 | opensource.org/licenses/mit-license.php MIT License | |
| 61 | www.ietf.org/rfc/rfc4122.txt | |
| 63 | github.com/lootils/uuid/blob/master/LICENSE | |
| 69 | 32 bits for "time_low" | |
| 72 | 16 bits for "time_mid" | |
| 74 | 12 bits before the 0100 of (version) 4 for "time_hi_and_version" | |
| 76 | 16 bits, 8 bits for "clk_seq_hi_res", | |
| 77 | 8 bits for "clk_seq_low", | |
| 78 | two most significant bits holds zero and one for variant DCE1.1 | |
| 80 | 48 bits for "node" | |
| 498 | book.cakephp.org/4/en/core-libraries/text.html#highlighting-substrings | |
| 598 | book.cakephp.org/4/en/core-libraries/text.html#truncating-text | |
| 685 | If result is empty, then we don't need to count ellipsis in the cut. | |
| 824 | Entities cannot be passed substr. | |
| 855 | Some languages are written without word separation. | |
| 856 | We recognize a string as a word if it doesn't contain any full-width characters. | |
| 876 | book.cakephp.org/4/en/core-libraries/text.html#extracting-an-excerpt | |
| 919 | book.cakephp.org/4/en/core-libraries/text.html#converting-an-array-to-sentence-form | |
| 1028 | book.cakephp.org/4/en/core-libraries/text.html#Cake\Utility\Text::parseFileSize | |
| 1119 | secure.php.net/manual/en/transliterator.transliterate.php |
Xml.php
| Type | Line | Description |
|---|---|---|
| 5 | cakephp.org) | |
| 6 | cakefoundation.org) | |
| 12 | cakefoundation.org) | |
| 13 | cakephp.org CakePHP(tm) Project | |
| 15 | opensource.org/licenses/mit-license.php MIT License | |
| 63 | example.com/example.xml'); | |
| 335 | www.w3.org/2000/xmlns/', $key, (string)$value); | |
| 340 | Escape special characters | |
| 341 | https://www.w3.org/TR/REC-xml/#syntax | |
| 342 | https://bugs.php.net/bug.php?id=36795 | |
| 362 | List | |
| 369 | Struct |
clusters.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 19 | or require (dirname(__DIR__).'/src/autoloader.php'); | |
| 24 | Example 1. Create RedisClient with Cluster support; | |
| 26 | Default server for connection | |
| 47 | Example 2. Create RedisClient with Cluster Slot Map; | |
| 49 | Default server for connection | |
| 53 | slots from 0 to 5460 | |
| 54 | slots from 5461 to 10922 | |
| 55 | slots from 10923 to 16383 | |
| 61 | Example 3. Get Cluster Slot Map from Redis Server on init RedisClient | |
| 63 | Default server for connection | |
| 66 | Use the param to update cluster slot map below on init RedisClient. | |
| 67 | RedisClient will execute command CLUSTER SLOTS to get map. | |
| 73 | Example 4. Get Cluster Slot Map from Redis Server by command | |
| 75 | Default server for connection | |
| 80 | Use this command to sync Cluster Slot Map from Redis Server | |
| 84 | Example 5. Pseudo Redis Cluster. | |
| 85 | If you use several Redis Servers without Cluster, | |
| 86 | you can use RedisClient's cluster config just for sharding keys by the Cluster rulers. | |
| 88 | Default server for connection | |
| 92 | slots from 0 to 5460 | |
| 93 | slots from 5461 to 10922 | |
| 94 | slots from 10923 to 16383 | |
| 99 | 12182 | |
| 102 | 5061 | |
| 104 | foo-42 | |
| 105 | bar-42 | |
| 107 | But, be careful with multi operation for pseudo Clusters, | |
| 108 | ['foo-42', null] | |
| 109 | ['bar-42', null] | |
| 112 | Example 6. Each connection to Redis Server uses the same config. | |
| 113 | For example, use can use password for all servers | |
| 115 | Default server for connection | |
| 121 | slots from 0 to 5460 | |
| 122 | slots from 5461 to 10922 | |
| 123 | slots from 10923 to 16383 | |
| 128 | 12182 | |
| 131 | 5061 | |
| 133 | foo-42 | |
| 134 | bar-42 |
create_new_instance.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 19 | or require (dirname(__DIR__).'/src/autoloader.php'); | |
| 25 | Example 1. Create new Instance for Redis version 2.8.x with config via factory | |
| 27 | or 'unix:///tmp/redis.sock' | |
| 32 | RedisClient: 2.8 | |
| 35 | Example 2. Create new Instance without config. Client will use default config. | |
| 37 | By default, the client works with the latest stable version of Redis. | |
| 38 | RedisClient: 3.2 | |
| 39 | Redis: 3.0.3 | |
| 42 | Example 3. Create new Instance with config | |
| 43 | By default, the client works with the latest stable version of Redis. | |
| 45 | or 'unix:///tmp/redis.sock' | |
| 49 | RedisClient: 3.2 | |
| 50 | Redis: 3.2.0 | |
| 53 | Example 4. Create new Instance for Redis version 2.6.x with config | |
| 55 | 127.0.0.1:6379', // or 'unix:///tmp/redis.sock' | |
| 59 | RedisClient: 2.6 |
monitor.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 19 | or require (dirname(__DIR__).'/src/autoloader.php'); | |
| 23 | Example 1. monitor with timeout | |
| 26 | for waiting answer for 10 seconds | |
| 30 | This function will be called on message and on timeout | |
| 33 | return <false> for stop monitoring and exit | |
| 38 | return <true> for to wait next message | |
| 42 | NOTE! You can not use $Redis after monitor, | |
| 43 | because connection with redis will be closed, | |
| 44 | it is correct way to stop monitor. |
pipeline.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 20 | or require (dirname(__DIR__).'/src/autoloader.php'); | |
| 28 | Example 1. via new Pipeline | |
| 30 | Method 'pipeline' without params returns new Pipeline object; | |
| 32 | or $Pipeline = new Pipeline(); | |
| 37 | result: | |
| 38 | array(3) { | |
| 39 | [0]=> bool(true) | |
| 40 | [1]=> string(3) "bar" | |
| 41 | [2]=> bool(true) | |
| 42 | } | |
| 45 | Example 2. via Closure | |
| 47 | Method 'pipeline' without params returns new Pipeline object; | |
| 59 | result: | |
| 60 | array(3) { | |
| 61 | [0]=> bool(true) | |
| 62 | [1]=> string(3) "bar" | |
| 63 | [2]=> bool(true) | |
| 64 | } |
pubsub.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 19 | or require (dirname(__DIR__).'/src/autoloader.php'); | |
| 23 | Example 1. subscribe | |
| 26 | for waiting answer infinitely | |
| 30 | This function will be called on subscribe and on message | |
| 32 | Note, if $type === 'subscribe' | |
| 33 | then $channel = <channel-name> | |
| 34 | and $message = <count of subsribers> | |
| 39 | return <false> for unsubscribe and exit | |
| 43 | return <true> for to wait next message | |
| 47 | Example 2. subscribe with timeout | |
| 50 | for waiting answer for 10 seconds | |
| 54 | This function will be called on subscribe, on message and on timeout | |
| 57 | return <false> for unsubscribe and exit | |
| 60 | This function will be called on subscribe and on message | |
| 62 | Note, if $type === 'subscribe' | |
| 63 | then $channel = <channel-name> | |
| 64 | and $message = <count of subsribers> | |
| 69 | return <true> for to wait next message | |
| 73 | Example 3. subscribe with external timeout | |
| 76 | for waiting answer for 0.25 seconds | |
| 81 | This function will be called on subscribe, on message and on timeout (every 0.25 seconds) | |
| 85 | Will unsubscribe and exit after 10 seconds of timeout | |
| 87 | return <false> for unsubscribe and exit | |
| 91 | This function will be called on subscribe and on message | |
| 93 | Note, if $type === 'subscribe' | |
| 94 | then $channel = <channel-name> | |
| 95 | and $message = <count of subsribers> | |
| 100 | return <true> for to wait next message | |
| 105 | Example 4. psubscribe | |
| 108 | for waiting answer infinitely | |
| 112 | This function will be called on subscribe and on message | |
| 114 | Note, if $type === 'psubscribe' | |
| 115 | then $pattern = <channel-name> | |
| 116 | and $channel = <count of subsribers> | |
| 121 | return <false> for unsubscribe and exit | |
| 125 | return <true> for to wait next message |
raw_commands.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 19 | or require (dirname(__DIR__).'/src/autoloader.php'); | |
| 25 | Example 1. As string[] by <executeRaw> | |
| 26 | Every part of command must be a separate string | |
| 27 | <executeRaw> is better way to use raw commands than <executeRawString> | |
| 30 | bar | |
| 32 | DEPRECATED Example 2. As string by <executeRawString> | |
| 33 | It is better to use executeRaw from example 1. | |
| 35 | bar | |
| 37 | You can use quotes for keys and arguments | |
| 39 | or value with spaces |
transactions.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 20 | or require (dirname(__DIR__).'/src/autoloader.php'); | |
| 28 | Example 1. Transactions | |
| 38 | array(2) { | |
| 39 | [0]=> bool(true) | |
| 40 | [1]=> bool(true) | |
| 41 | } | |
| 43 | Example 2. True way to use transactions via Pipeline | |
| 56 | array(2) { | |
| 57 | [0]=> bool(true) | |
| 58 | [1]=> bool(true) | |
| 59 | } |
autoloader.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
AbstractRedisClient.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 50 | or tcp://127.0.0.1:6379 or 'unix:///tmp/redis.sock' | |
| 51 | in seconds | |
| 52 | default db |
RedisClient2x6.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
RedisClient2x8.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
RedisClient3x0.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
RedisClient3x2.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
RedisClient4x0.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
RedisClient5x0.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
RedisClient6x0.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
ClientFactory.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
ClusterMap.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 127 | ')) { |
Crc16.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
Parameter.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 142 | redis.io/commands/geodist |
ResponseParser.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
AbstractCommandsTrait.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
LastVersionCommandsTrait.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
CommandsTrait.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
ConnectionCommandsTrait.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 15 | redis.io/commands#connection | |
| 24 | redis.io/commands/auth | |
| 36 | redis.io/commands/echo | |
| 50 | redis.io/commands/ping | |
| 61 | redis.io/commands/quit | |
| 72 | redis.io/commands/select |
HashesCommandsTrait.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 18 | redis.io/commands#hash | |
| 26 | redis.io/commands/hdel | |
| 41 | redis.io/commands/hexists | |
| 55 | redis.io/commands/hget | |
| 70 | redis.io/commands/hgetall | |
| 84 | redis.io/commands/hincrby | |
| 99 | redis.io/commands/hincrbyfloat | |
| 114 | redis.io/commands/hkeys | |
| 127 | redis.io/commands/hlen | |
| 140 | redis.io/commands/hmget | |
| 154 | redis.io/commands/hmset | |
| 168 | redis.io/commands/hset | |
| 184 | redis.io/commands/hsetnx | |
| 199 | redis.io/commands/hvals |
KeysCommandsTrait.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 17 | redis.io/commands#generic | |
| 25 | redis.io/commands/del | |
| 40 | redis.io/commands/dump | |
| 53 | redis.io/commands/exists | |
| 67 | redis.io/commands/expire | |
| 81 | redis.io/commands/expireat | |
| 95 | redis.io/commands/keys | |
| 107 | redis.io/commands/migrate | |
| 124 | redis.io/commands/move | |
| 138 | redis.io/commands/object | |
| 156 | redis.io/commands/persist | |
| 170 | redis.io/commands/pexpire | |
| 185 | redis.io/commands/pexpireat | |
| 199 | redis.io/commands/pttl | |
| 212 | redis.io/commands/randomkey | |
| 224 | redis.io/commands/rename | |
| 239 | redis.io/commands/renamenx | |
| 254 | redis.io/commands/restore | |
| 269 | redis.io/commands/sort | |
| 313 | redis.io/commands/ttl | |
| 326 | redis.io/commands/type |
ListsCommandsTrait.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 17 | redis.io/commands#list | |
| 25 | redis.io/commands/blpop | |
| 40 | redis.io/commands/brpop | |
| 55 | redis.io/commands/brpoplpush | |
| 71 | redis.io/commands/lindex | |
| 85 | redis.io/commands/linsert | |
| 102 | redis.io/commands/llen | |
| 115 | redis.io/commands/lpop | |
| 128 | redis.io/commands/lpush | |
| 142 | redis.io/commands/lpushx | |
| 156 | redis.io/commands/lrange | |
| 171 | redis.io/commands/lrem | |
| 187 | redis.io/commands/lset | |
| 202 | redis.io/commands/ltrim | |
| 217 | redis.io/commands/rpop | |
| 230 | redis.io/commands/rpoplpush | |
| 245 | redis.io/commands/rpush | |
| 259 | redis.io/commands/rpushx |
PubSubCommandsTrait.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 17 | redis.io/commands#pubsub | |
| 25 | redis.io/commands/psubscribe | |
| 71 | redis.io/commands/psubscribe |
ScriptingCommandsTrait.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 15 | redis.io/commands#scripting | |
| 25 | redis.io/commands/eval | |
| 53 | redis.io/commands/evalsha | |
| 80 | redis.io/commands/script-exists | |
| 93 | redis.io/commands/script-flush | |
| 105 | redis.io/commands/script-kill | |
| 117 | redis.io/commands/script-load |
ServerCommandsTrait.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 18 | redis.io/commands#server | |
| 25 | redis.io/commands/bgrewriteaof | |
| 36 | redis.io/commands/bgsave | |
| 48 | redis.io/commands/client-getname | |
| 60 | redis.io/commands/client-kill | |
| 101 | redis.io/commands/client-list | |
| 113 | redis.io/commands/client-setname | |
| 125 | redis.io/commands/config-get | |
| 138 | redis.io/commands/config-resetstat | |
| 149 | redis.io/commands/config-set | |
| 162 | redis.io/commands/dbsize | |
| 173 | redis.io/commands/debug-object | |
| 185 | redis.io/commands/debug-segfault | |
| 196 | redis.io/commands/flushall | |
| 207 | redis.io/commands/flushdb | |
| 218 | redis.io/commands/info | |
| 230 | redis.io/commands/lastsave | |
| 241 | redis.io/commands/monitor | |
| 253 | redis.io/commands/save | |
| 264 | redis.io/commands/shutdown | |
| 275 | redis.io/commands/slaveof | |
| 288 | redis.io/commands/slowlog | |
| 305 | redis.io/commands/sync | |
| 315 | redis.io/commands/time |
SetsCommandsTrait.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 15 | redis.io/commands#set | |
| 23 | redis.io/commands/sadd | |
| 38 | redis.io/commands/scard | |
| 51 | redis.io/commands/sdiff | |
| 65 | redis.io/commands/sdiffstore | |
| 81 | redis.io/commands/sinter | |
| 95 | redis.io/commands/sinterstore | |
| 111 | redis.io/commands/sismember | |
| 126 | redis.io/commands/smembers | |
| 139 | redis.io/commands/smove | |
| 155 | redis.io/commands/spop | |
| 169 | redis.io/commands/srandmember | |
| 187 | redis.io/commands/srem | |
| 201 | redis.io/commands/sunion | |
| 215 | redis.io/commands/sunionstore |
SortedSetsCommandsTrait.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 18 | redis.io/commands#set | |
| 19 | redis.io/topics/data-types#sorted-sets | |
| 27 | redis.io/commands/zadd | |
| 41 | redis.io/commands/zcard | |
| 54 | redis.io/commands/zcount | |
| 69 | redis.io/commands/zincrby | |
| 85 | redis.io/commands/zinterstore | |
| 112 | redis.io/commands/zrange | |
| 135 | redis.io/commands/zrangebyscore | |
| 160 | redis.io/commands/zrank | |
| 175 | redis.io/commands/zrem | |
| 190 | redis.io/commands/zremrangebyrank | |
| 206 | redis.io/commands/zremrangebyscore | |
| 222 | redis.io/commands/zrevrange | |
| 245 | redis.io/commands/zrevrangebyscore | |
| 270 | redis.io/commands/zrevrank | |
| 284 | redis.io/commands/zscore | |
| 299 | redis.io/commands/zunionstore |
StringsCommandsTrait.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 18 | redis.io/commands#string | |
| 26 | redis.io/commands/append | |
| 40 | redis.io/commands/bitcount | |
| 63 | redis.io/commands/bitop | |
| 82 | redis.io/commands/decr | |
| 95 | redis.io/commands/decrby | |
| 109 | redis.io/commands/get | |
| 122 | redis.io/commands/getbit | |
| 136 | redis.io/commands/getrange | |
| 165 | redis.io/commands/getset | |
| 179 | redis.io/commands/incr | |
| 192 | redis.io/commands/incrby | |
| 206 | redis.io/commands/incrbyfloat | |
| 220 | redis.io/commands/mget | |
| 234 | redis.io/commands/mset | |
| 247 | redis.io/commands/msetnx | |
| 260 | redis.io/commands/psetex | |
| 275 | redis.io/commands/set | |
| 305 | redis.io/commands/setbit | |
| 320 | redis.io/commands/setex | |
| 335 | redis.io/commands/setnx | |
| 349 | redis.io/commands/setrange | |
| 364 | redis.io/commands/strlen |
TransactionsCommandsTrait.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 17 | redis.io/commands#transactions | |
| 18 | redis.io/topics/transactions | |
| 25 | redis.io/commands/discard | |
| 36 | redis.io/commands/exec | |
| 48 | redis.io/commands/multi | |
| 61 | redis.io/commands/unwatch | |
| 73 | redis.io/commands/watch |
CommandsTrait.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
ConnectionCommandsTrait.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 17 | redis.io/commands#connection | |
| 28 | redis.io/commands/ping |
HashesCommandsTrait.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 17 | redis.io/commands#hash | |
| 27 | redis.io/commands/hscan |
HyperLogLogCommandsTrait.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 15 | redis.io/commands#hyperloglog | |
| 23 | redis.io/commands/pfadd | |
| 38 | redis.io/commands/pfcount | |
| 52 | redis.io/commands/pfmerge | |
| 64 | /** | |
| 65 | * PFDEBUG <subcommand> <key> ... args ... | |
| 66 | * Available since 2.8.9. | |
| 67 | * @link http://download.redis.io/redis-stable/src/hyperloglog.c | |
| 68 | * @debug | |
| 69 | * @deprecated only for debug | |
| 70 | * | |
| 71 | * @param string $subcommand GETREG|DECODE|ENCODING|TODENSE | |
| 72 | * @param string $key | |
| 73 | * @return mixed | |
| 74 | */ | |
| 75 | public function pfdebug($subcommand, $key) { | |
| 76 | return $this->returnCommand(['PFDEBUG'], $key, [$subcommand, $key]); | |
| 77 | } | |
| 79 | /** | |
| 80 | * PFSELFTEST | |
| 81 | * Available since 2.8.9. | |
| 82 | * @link http://download.redis.io/redis-stable/src/hyperloglog.c | |
| 83 | * @debug | |
| 84 | * @deprecated only for debug | |
| 85 | * | |
| 86 | * @return mixed | |
| 87 | */ | |
| 88 | public function pfselftest() { | |
| 89 | return $this->returnCommand(['PFSELFTEST']); | |
| 90 | } |
KeysCommandsTrait.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 17 | redis.io/commands#generic | |
| 27 | redis.io/commands/scan |
LatencyCommandsTrait.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 15 | redis.io/topics/latency-monitor | |
| 22 | redis.io/topics/latency-monitor | |
| 33 | redis.io/topics/latency-monitor | |
| 45 | redis.io/topics/latency-monitor | |
| 57 | redis.io/topics/latency-monitor | |
| 69 | redis.io/topics/latency-monitor |
PubSubCommandsTrait.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 17 | redis.io/commands#pubsub |
ServerCommandsTrait.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 18 | redis.io/commands#server | |
| 28 | redis.io/commands/command | |
| 40 | redis.io/commands/command-count | |
| 52 | redis.io/commands/command-getkeys | |
| 65 | redis.io/commands/command-info | |
| 77 | redis.io/commands/config-rewrite | |
| 88 | redis.io/commands/role |
SetsCommandsTrait.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 17 | redis.io/commands#set | |
| 29 | redis.io/commands/sscan |
SortedSetsCommandsTrait.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 18 | redis.io/commands#set | |
| 19 | redis.io/topics/data-types#sorted-sets | |
| 29 | redis.io/commands/zlexcount | |
| 46 | redis.io/commands/zrangebylex | |
| 68 | redis.io/commands/zremrangebylex | |
| 85 | redis.io/commands/zrevrangebylex | |
| 108 | redis.io/commands/zscan |
StringsCommandsTrait.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 17 | redis.io/commands#string | |
| 27 | redis.io/commands/bitpos |
ServerCommandsTrait.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 17 | redis.io/commands#server | |
| 27 | redis.io/commands/client-pause |
ClusterCommandsTrait.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 15 | redis.io/commands#cluster | |
| 16 | redis.io/topics/cluster-tutorial | |
| 24 | redis.io/commands/cluster-addslots | |
| 37 | redis.io/commands/cluster-count-failure-reports | |
| 50 | redis.io/commands/cluster-countkeysinslot | |
| 63 | redis.io/commands/cluster-delslots | |
| 76 | redis.io/commands/cluster-failover | |
| 89 | redis.io/commands/cluster-forget | |
| 102 | redis.io/commands/cluster-getkeysinslot | |
| 116 | redis.io/commands/cluster-info | |
| 129 | redis.io/commands/cluster-keyslot | |
| 142 | redis.io/commands/cluster-meet | |
| 157 | redis.io/commands/cluster-nodes | |
| 169 | redis.io/commands/cluster-replicate | |
| 183 | redis.io/commands/cluster-reset | |
| 196 | redis.io/commands/cluster-saveconfig | |
| 208 | redis.io/commands/cluster-set-config-epoch | |
| 221 | redis.io/commands/cluster-setslot | |
| 240 | redis.io/commands/cluster-slaves | |
| 253 | redis.io/commands/cluster-slots | |
| 265 | redis.io/commands/readonly | |
| 277 | redis.io/commands/readwrite |
CommandsTrait.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
KeysCommandsTrait.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 17 | redis.io/commands#generic | |
| 27 | redis.io/commands/exists | |
| 41 | redis.io/commands/migrate | |
| 67 | redis.io/commands/restore | |
| 87 | redis.io/commands/wait |
SortedSetsCommandsTrait.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 18 | redis.io/commands#set | |
| 19 | redis.io/topics/data-types#sorted-sets | |
| 29 | redis.io/commands/zadd |
CommandsTrait.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
GeoCommandsTrait.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 17 | redis.io/commands#geo | |
| 25 | redis.io/commands/geoadd | |
| 47 | redis.io/commands/geodist | |
| 68 | redis.io/commands/geohash | |
| 83 | redis.io/commands/geopos | |
| 100 | redis.io/commands/georadius | |
| 154 | redis.io/commands/georadiusbymember | |
| 204 | github.com/antirez/redis-doc/commit/0f0db1548bef3e005e775ead79b5b9c13be4baed |
HashesCommandsTrait.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 17 | redis.io/commands#hash | |
| 27 | redis.io/commands/hstrlen |
KeysCommandsTrait.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 17 | redis.io/commands#generic | |
| 26 | redis.io/commands/migrate | |
| 56 | redis.io/commands/touch | |
| 57 | github.com/antirez/redis/commit/f1c237cb6a647ad5400b0ebce124fd9802ea7f89 |
ScriptingCommandsTrait.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 17 | redis.io/commands#scripting | |
| 27 | redis.io/commands/script-debug |
ServerCommandsTrait.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 17 | redis.io/commands#server | |
| 27 | redis.io/commands/client-reply |
SetsCommandsTrait.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 17 | redis.io/commands#set | |
| 27 | redis.io/commands/spop |
StringsCommandsTrait.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 17 | redis.io/commands#string | |
| 34 | I know, I know... but it is faster! |
CommandsTrait.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
ConnectionCommandsTrait.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 17 | redis.io/commands#server | |
| 26 | redis.io/commands/swapdb |
KeysCommandsTrait.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 17 | redis.io/commands#generic | |
| 27 | redis.io/commands/unlink |
MemoryCommandsTrait.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 14 | antirez.com/news/110 |
ServerCommandsTrait.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 17 | redis.io/commands#server | |
| 26 | redis.io/commands/flushall | |
| 38 | redis.io/commands/flushdb |
CommandsTrait.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
ConnectionCommandsTrait.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 17 | redis.io/commands#connection | |
| 25 | redis.io/commands/client-id | |
| 35 | redis.io/commands/client-unblock |
ServerCommandsTrait.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 17 | redis.io/commands#server | |
| 26 | antirez.com/news/123 | |
| 52 | redis.io/commands/replicaof |
SortedSetsCommandsTrait.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 17 | redis.io/commands#set | |
| 18 | redis.io/topics/data-types#sorted-sets | |
| 28 | redis.io/commands/bzpopmax | |
| 44 | redis.io/commands/bzpopmin | |
| 61 | redis.io/commands/zpopmax | |
| 80 | redis.io/commands/zpopmin |
StreamsCommandsTrait.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 17 | redis.io/commands#stream | |
| 18 | redis.io/topics/streams-intro | |
| 26 | redis.io/commands/xack | |
| 41 | redis.io/commands/xadd | |
| 62 | redis.io/commands/xclaim | |
| 100 | redis.io/commands/xdel | |
| 112 | redis.io/commands/xgroup | |
| 125 | redis.io/commands/xgroup | |
| 138 | redis.io/commands/xgroup | |
| 150 | redis.io/commands/xgroup | |
| 163 | redis.io/commands/xgroup | |
| 176 | redis.io/commands/xinfo | |
| 205 | redis.io/commands/xlen | |
| 220 | redis.io/commands/xpending | |
| 246 | redis.io/commands/xrange | |
| 268 | redis.io/commands/xread | |
| 297 | redis.io/commands/xreadgroup | |
| 330 | redis.io/commands/xrevrange | |
| 352 | redis.io/commands/xtrim | |
| 370 | github.com/antirez/redis/blob/5c5197fe4f40ad697d5350529989f38122327bd1/src/t_stream.c |
CommandsTrait.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
ConnectionCommandsTrait.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 17 | redis.io/commands#connection | |
| 25 | redis.io/commands/client-caching | |
| 36 | redis.io/commands/client-getredir | |
| 46 | redis.io/commands/client-tracking | |
| 86 | redis.io/commands/hello |
ListsCommandsTrait.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 17 | redis.io/commands#list | |
| 25 | redis.io/commands/lpos |
ServerCommandsTrait.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 17 | redis.io/commands#server | |
| 26 | redis.io/commands/acl-cat | |
| 38 | redis.io/commands/acl-deluser | |
| 51 | redis.io/commands/acl-genpass | |
| 63 | redis.io/commands/acl-getuser | |
| 75 | redis.io/commands/acl-help | |
| 86 | redis.io/commands/acl-list | |
| 97 | redis.io/commands/acl-log | |
| 109 | redis.io/commands/acl-log | |
| 120 | redis.io/commands/acl-save | |
| 131 | redis.io/commands/acl-setuser | |
| 148 | redis.io/commands/acl-users | |
| 159 | redis.io/commands/acl-whoami |
StreamsCommandsTrait.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 16 | redis.io/commands#stream | |
| 17 | redis.io/topics/streams-intro | |
| 28 | redis.io/commands/xinfo |
StringsCommandsTrait.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 17 | redis.io/commands#strings | |
| 25 | redis.io/commands/stralgo |
ConnectionFactory.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
ConnectionInterface.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
StreamConnection.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 62 | ') && 0 !== strpos($server, 'unix://')) { | |
| 63 | ' . $server; |
AskResponseException.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
CommandNotFoundException.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
ConnectionException.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
CrossSlotResponseException.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
EmptyResponseException.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
ErrorException.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
ErrorResponseException.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
ExceptionFactory.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
InvalidArgumentException.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
MovedResponseException.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 29 | MOVED slot server |
RedisException.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
TryAgainResponseException.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
UnknownTypeException.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
AbstractPipeline.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 121 | todo: check | |
| 133 | MULTI command is ignored |
Pipeline.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
PipelineInterface.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
Pipeline2x6.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
Pipeline2x8.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
Pipeline3x0.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
Pipeline3x2.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
Pipeline4x0.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
Pipeline5x0.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
Pipeline6x0.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
ProtocolFactory.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
ProtocolInterface.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
RedisProtocol.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
RedisClient.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
CommandsListBuildTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
PipelineAnnotationsBuildTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
VersionTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
BaseVersionTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
ClusterVersionTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
DefaultDatabaseTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
RedisVersionTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 20 | <server>, <client version>, <expected server version> |
CommonTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
ConnectionCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
HashesCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 186 | I don't know why it happens, but it is real Redis behavior | |
| 188 | $this->assertFalse('Expect Exception'); |
KeysCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
ListsCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
PipelineTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
PubSubCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
ScriptingCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
ServerCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
SetsCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
SortedSetsCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
StringsCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 145 | I don't know why it happens, but it is real Redis behavior | |
| 146 | $this->assertSame(-1, $Redis->decr('bin')); | |
| 182 | I don't know why it happens, but it is real Redis behavior | |
| 183 | $this->assertSame(-17, $Redis->decrby('bin', 17)); | |
| 307 | I don't know why it happens, but it is real Redis behavior | |
| 308 | $this->assertSame(1, $Redis->incr('bin')); | |
| 344 | I don't know why it happens, but it is real Redis behavior | |
| 345 | $this->assertSame(17, $Redis->incrby('bin', 17)); | |
| 377 | I don't know why it happens, but it is real Redis behavior |
TransactionsCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
CommonTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
ConnectionCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
HashesCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
HyperLogLogCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
KeysCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
LatencyCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
ListsCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
PipelineTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
PubSubCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
ScriptingCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
ServerCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 54 | todo: send report about issue |
SetsCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
SortedSetsCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
StringsCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
TransactionsCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
ClusterTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
CommonTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
ConnectionCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
HashesCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
HyperLogLogCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
KeysCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
LatencyCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
ListsCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
PipelineTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
PubSubCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
ScriptingCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
ServerCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
SetsCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
SortedSetsCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
StringsCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
TransactionsCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
ClusterTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
CommonTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
ConnectionCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
GeoCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
HashesCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 48 | I don't know why it happens, but it is real Redis behavior | |
| 50 | $this->assertFalse('Expect Exception'); |
HyperLogLogCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
KeysCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
LatencyCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
ListsCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
PipelineTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
PubSubCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
ScriptingCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
ServerCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
SetsCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
SortedSetsCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
StringsCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
TransactionsCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
ClusterTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
CommonTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
ConnectionCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
GeoCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
HashesCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
HyperLogLogCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
KeysCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
LatencyCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
ListsCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
MemoryCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
PipelineTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
PubSubCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
ScriptingCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
ServerCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
SetsCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
SortedSetsCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
StringsCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
TransactionsCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
ClusterTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
CommonTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
ConnectionCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
GeoCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
HashesCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
HyperLogLogCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
KeysCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
LatencyCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
ListsCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
MemoryCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
PipelineTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
PubSubCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
ScriptingCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
ServerCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
SetsCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
SortedSetsCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
StreamCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
StringsCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
TransactionsCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
ClusterTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
CommonTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
ConnectionCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
GeoCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
HashesCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
HyperLogLogCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
KeysCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
LatencyCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
ListsCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 23 | todo: add test when it is stable |
MemoryCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
PipelineTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
PubSubCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
ScriptingCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
ServerCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 46 | new | |
| 48 | new | |
| 68 | new |
SetsCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
SortedSetsCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
StreamCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
StringsCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
TransactionsCommandsTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
AbstractRedisClientIsolatedTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 56 | 127.0.0.1:6379', $h); | |
| 86 | 127.0.0.1:7001', "*2\r\n\$3\r\nGET\r\n\$3\r\nfoo\r\n"], | |
| 87 | 127.0.0.3:7003', "*2\r\n\$3\r\nGET\r\n\$3\r\nfoo\r\n"], | |
| 88 | 127.0.0.3:7003', "*2\r\n\$3\r\nGET\r\n\$4\r\nfoo1\r\n"], | |
| 89 | 127.0.0.3:7003', "*2\r\n\$3\r\nGET\r\n\$4\r\nfoo2\r\n"], | |
| 90 | 127.0.0.1:7001', "*2\r\n\$3\r\nGET\r\n\$4\r\nfoo2\r\n"], | |
| 91 | 127.0.0.1:7001', "*2\r\n\$3\r\nGET\r\n\$4\r\nfoo2\r\n"], | |
| 145 | 127.0.0.3:7003', $h); | |
| 184 | 127.0.0.3:7003', | |
| 188 | 127.0.0.2:7002', | |
| 192 | 127.0.0.2:7002', | |
| 196 | 127.0.0.3:7003', | |
| 249 | 127.0.0.1:7001', "*2\r\n\$3\r\nGET\r\n\$3\r\nfoo\r\n"], | |
| 250 | 127.0.0.3:7003', "*2\r\n\$3\r\nGET\r\n\$3\r\nfoo\r\n"], | |
| 251 | 127.0.0.2:7002', "*1\r\n\$6\r\nASKING\r\n"], | |
| 252 | 127.0.0.2:7002', "*2\r\n\$3\r\nGET\r\n\$3\r\nfoo\r\n"], | |
| 253 | 127.0.0.3:7003', "*2\r\n\$3\r\nGET\r\n\$3\r\nfoo\r\n"], | |
| 254 | 127.0.0.3:7003', "*2\r\n\$3\r\nGET\r\n\$4\r\nfoo2\r\n"], | |
| 255 | 127.0.0.1:7001', "*2\r\n\$3\r\nGET\r\n\$4\r\nfoo2\r\n"], | |
| 256 | 127.0.0.3:7003', "*2\r\n\$3\r\nGET\r\n\$3\r\nfoo\r\n"], | |
| 257 | 127.0.0.1:7001', "*2\r\n\$3\r\nGET\r\n\$4\r\nfoo2\r\n"], | |
| 258 | 127.0.0.3:7003', "*2\r\n\$3\r\nGET\r\n\$4\r\nfoo1\r\n"], |
AbstractRedisClientTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
ClientFactoryTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
ClusterMapTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
ResponseParserTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
RedisProtocolTest.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client |
generate_annotations_for_pipeline.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 61 | Version3x0/SortedSetsCommandsTrait.php: public function zrange($key, $start, $stop, $withscores = false) | |
| 62 | if (!preg_match_all('/Version(\d+x\d+)\/(\w+)CommandsTrait\.php.+public function (.+)\((.*)\)/im', $lines, $matches, PREG_SET_ORDER)) { | |
| 63 | echo 'Not found'. EOL; | |
| 64 | } | |
| 99 | skip for Pipeline | |
| 110 | deactivation old version of commands |
generate_commands_md.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/cheprasov/php-redis-client | |
| 91 | skip for Pipeline | |
| 96 | github.com/cheprasov/php-redis-client/blob/master/src/RedisClient/Command/Traits/Version{$version}/{$group}CommandsTrait.php"; |
config.php
| Type | Line | Description |
|---|---|---|
| 8 | Supported values: `'5.6'`, `'7.0'`, `'7.1'`, `'7.2'`, `'7.3'`, | |
| 9 | `'7.4'`, `null`. | |
| 10 | If this is set to `null`, | |
| 11 | then Phan assumes the PHP version which is closest to the minor version | |
| 12 | of the php executable used to execute Phan. | |
| 14 | // Note that the **only** effect of choosing `'5.6'` is to infer | |
| 15 | that functions removed in php 7.0 exist. | |
| 16 | (See `backward_compatibility_checks` for additional options) | |
| 19 | A list of directories that should be parsed for class and | |
| 20 | method information. After excluding the directories | |
| 21 | defined in exclude_analysis_directory_list, the remaining | |
| 22 | files will be statically analyzed for errors. | |
| 24 | // Thus, both first-party and third-party code being used by | |
| 25 | your application should be included in this list. | |
| 34 | A regex used to match every file name that you want to | |
| 35 | exclude from parsing. Actual value will exclude every | |
| 36 | "test", "tests", "Test" and "Tests" folders found in | |
| 37 | "vendor/" directory. | |
| 40 | A directory list that defines files that will be excluded | |
| 41 | from static analysis, but whose class and method | |
| 42 | information should be included. | |
| 44 | // Generally, you'll want to include the directories for | |
| 45 | third-party code (such as "vendor/") in this list. | |
| 47 | // n.b.: If you'd like to parse but not analyze 3rd | |
| 48 | party code, directories containing that code | |
| 49 | should be added to both the `directory_list` | |
| 50 | and `exclude_analysis_directory_list` arrays. |
imagick.php
| Type | Line | Description |
|---|---|---|
| 3 | Start of imagick v.3.4.3 | |
| 19 | php.net/manual/en/class.imagick.php | |
| 581 | php.net/manual/en/imagick.optimizeimagelayers.php | |
| 589 | php.net/manual/en/imagick.compareimagelayers.php | |
| 600 | php.net/manual/en/imagick.pingimageblob.php | |
| 611 | php.net/manual/en/imagick.pingimagefile.php | |
| 625 | php.net/manual/en/imagick.transposeimage.php | |
| 633 | php.net/manual/en/imagick.transverseimage.php | |
| 641 | php.net/manual/en/imagick.trimimage.php | |
| 656 | php.net/manual/en/imagick.waveimage.php | |
| 670 | php.net/manual/en/imagick.vignetteimage.php | |
| 690 | php.net/manual/en/imagick.uniqueimagecolors.php | |
| 698 | php.net/manual/en/imagick.getimagematte.php | |
| 706 | php.net/manual/en/imagick.setimagematte.php | |
| 722 | php.net/manual/en/imagick.adaptiveresizeimage.php | |
| 737 | php.net/manual/en/imagick.sketchimage.php | |
| 754 | php.net/manual/en/imagick.shadeimage.php | |
| 771 | php.net/manual/en/imagick.getsizeoffset.php | |
| 779 | php.net/manual/en/imagick.setsizeoffset.php | |
| 796 | php.net/manual/en/imagick.adaptiveblurimage.php | |
| 814 | php.net/manual/en/imagick.contraststretchimage.php | |
| 834 | php.net/manual/en/imagick.adaptivesharpenimage.php | |
| 851 | php.net/manual/en/imagick.randomthresholdimage.php | |
| 880 | php.net/manual/en/imagick.roundcorners.php | |
| 903 | php.net/manual/en/imagick.setiteratorindex.php | |
| 914 | php.net/manual/en/imagick.getiteratorindex.php | |
| 922 | php.net/manual/en/imagick.transformimage.php | |
| 936 | php.net/manual/en/imagick.setimageopacity.php | |
| 948 | php.net/manual/en/imagick.orderedposterizeimage.php | |
| 965 | php.net/manual/en/imagick.polaroidimage.php | |
| 979 | php.net/manual/en/imagick.getimageproperty.php | |
| 991 | php.net/manual/en/imagick.setimageproperty.php | |
| 1001 | php.net/manual/en/imagick.setimageinterpolatemethod.php | |
| 1012 | php.net/manual/en/imagick.getimageinterpolatemethod.php | |
| 1020 | php.net/manual/en/imagick.linearstretchimage.php | |
| 1034 | php.net/manual/en/imagick.getimagelength.php | |
| 1042 | php.net/manual/en/imagick.extentimage.php | |
| 1062 | php.net/manual/en/imagick.getimageorientation.php | |
| 1070 | php.net/manual/en/imagick.setimageorientation.php | |
| 1081 | php.net/manual/en/imagick.paintfloodfillimage.php | |
| 1109 | php.net/manual/en/imagick.clutimage.php | |
| 1125 | php.net/manual/en/imagick.getimageproperties.php | |
| 1139 | php.net/manual/en/imagick.getimageprofiles.php | |
| 1153 | php.net/manual/en/imagick.distortimage.php | |
| 1170 | php.net/manual/en/imagick.writeimagefile.php | |
| 1181 | php.net/manual/en/imagick.writeimagesfile.php | |
| 1192 | php.net/manual/en/imagick.resetimagepage.php | |
| 1203 | php.net/manual/en/imagick.setimageclipmask.php | |
| 1214 | php.net/manual/en/imagick.getimageclipmask.php | |
| 1222 | php.net/manual/en/imagick.animateimages.php | |
| 1233 | php.net/manual/en/imagick.recolorimage.php | |
| 1244 | php.net/manual/en/imagick.setfont.php | |
| 1255 | php.net/manual/en/imagick.getfont.php | |
| 1263 | php.net/manual/en/imagick.setpointsize.php | |
| 1274 | php.net/manual/en/imagick.getpointsize.php | |
| 1282 | php.net/manual/en/imagick.mergeimagelayers.php | |
| 1294 | php.net/manual/en/imagick.setimagealphachannel.php | |
| 1305 | php.net/manual/en/imagick.floodfillpaintimage.php | |
| 1334 | php.net/manual/en/imagick.opaquepaintimage.php | |
| 1357 | php.net/manual/en/imagick.transparentpaintimage.php | |
| 1377 | php.net/manual/en/imagick.liquidrescaleimage.php | |
| 1399 | php.net/manual/en/imagick.encipherimage.php | |
| 1410 | php.net/manual/en/imagick.decipherimage.php | |
| 1421 | php.net/manual/en/imagick.setgravity.php | |
| 1433 | php.net/manual/en/imagick.getgravity.php | |
| 1442 | php.net/manual/en/imagick.getimagechannelrange.php | |
| 1453 | php.net/manual/en/imagick.getimagealphachannel.php | |
| 1462 | php.net/manual/en/imagick.getimagechanneldistortions.php | |
| 1479 | php.net/manual/en/imagick.setimagegravity.php | |
| 1491 | php.net/manual/en/imagick.getimagegravity.php | |
| 1500 | php.net/manual/en/imagick.importimagepixels.php | |
| 1532 | php.net/manual/en/imagick.deskewimage.php | |
| 1543 | php.net/manual/en/imagick.segmentimage.php | |
| 1564 | php.net/manual/en/imagick.sparsecolorimage.php | |
| 1580 | php.net/manual/en/imagick.remapimage.php | |
| 1594 | php.net/manual/en/imagick.exportimagepixels.php | |
| 1621 | php.net/manual/en/imagick.getimagechannelkurtosis.php | |
| 1633 | php.net/manual/en/imagick.functionimage.php | |
| 1653 | php.net/manual/en/imagick.haldclutimage.php | |
| 1677 | php.net/manual/en/imagick.getimageartifact.php | |
| 1688 | php.net/manual/en/imagick.setimageartifact.php | |
| 1702 | php.net/manual/en/imagick.deleteimageartifact.php | |
| 1713 | php.net/manual/en/imagick.getcolorspace.php | |
| 1721 | php.net/manual/en/imagick.setcolorspace.php | |
| 1743 | php.net/manual/en/imagick.construct.php | |
| 1762 | php.net/manual/en/imagick.getpixeliterator.php | |
| 1770 | php.net/manual/en/imagick.getpixelregioniterator.php | |
| 1790 | php.net/manual/en/imagick.readimage.php | |
| 1806 | php.net/manual/en/imagick.readimageblob.php | |
| 1817 | php.net/manual/en/imagick.setimageformat.php | |
| 1830 | php.net/manual/en/imagick.scaleimage.php | |
| 1844 | php.net/manual/en/imagick.writeimage.php | |
| 1858 | php.net/manual/en/imagick.writeimages.php | |
| 1868 | php.net/manual/en/imagick.blurimage.php | |
| 1889 | php.net/manual/en/imagick.thumbnailimage.php | |
| 1911 | php.net/manual/en/imagick.cropthumbnailimage.php | |
| 1924 | php.net/manual/en/imagick.getimagefilename.php | |
| 1932 | php.net/manual/en/imagick.setimagefilename.php | |
| 1941 | php.net/manual/en/imagick.getimageformat.php | |
| 1947 | secure.php.net/manual/en/imagick.getimagemimetype.php | |
| 1955 | php.net/manual/en/imagick.removeimage.php | |
| 1963 | php.net/manual/en/imagick.destroy.php | |
| 1971 | php.net/manual/en/imagick.clear.php | |
| 1979 | php.net/manual/en/imagick.getimagesize.php | |
| 1988 | php.net/manual/en/imagick.getimageblob.php | |
| 1996 | php.net/manual/en/imagick.getimagesblob.php | |
| 2005 | php.net/manual/en/imagick.setfirstiterator.php | |
| 2013 | php.net/manual/en/imagick.setlastiterator.php | |
| 2023 | php.net/manual/en/imagick.previousimage.php | |
| 2031 | php.net/manual/en/imagick.nextimage.php | |
| 2039 | php.net/manual/en/imagick.haspreviousimage.php | |
| 2048 | php.net/manual/en/imagick.hasnextimage.php | |
| 2057 | php.net/manual/en/imagick.setimageindex.php | |
| 2068 | php.net/manual/en/imagick.getimageindex.php | |
| 2076 | php.net/manual/en/imagick.commentimage.php | |
| 2087 | php.net/manual/en/imagick.cropimage.php | |
| 2107 | php.net/manual/en/imagick.labelimage.php | |
| 2118 | php.net/manual/en/imagick.getimagegeometry.php | |
| 2126 | php.net/manual/en/imagick.drawimage.php | |
| 2137 | php.net/manual/en/imagick.setimagecompressionquality.php | |
| 2148 | php.net/manual/en/imagick.getimagecompressionquality.php | |
| 2156 | php.net/manual/en/imagick.annotateimage.php | |
| 2179 | php.net/manual/en/imagick.compositeimage.php | |
| 2202 | php.net/manual/en/imagick.modulateimage.php | |
| 2213 | php.net/manual/en/imagick.getimagecolors.php | |
| 2221 | php.net/manual/en/imagick.montageimage.php | |
| 2246 | php.net/manual/en/imagick.identifyimage.php | |
| 2256 | php.net/manual/en/imagick.thresholdimage.php | |
| 2266 | php.net/manual/en/imagick.adaptivethresholdimage.php | |
| 2283 | php.net/manual/en/imagick.blackthresholdimage.php | |
| 2294 | php.net/manual/en/imagick.whitethresholdimage.php | |
| 2303 | php.net/manual/en/imagick.appendimages.php | |
| 2316 | php.net/manual/en/imagick.charcoalimage.php | |
| 2330 | php.net/manual/en/imagick.normalizeimage.php | |
| 2344 | php.net/manual/en/imagick.oilpaintimage.php | |
| 2355 | php.net/manual/en/imagick.posterizeimage.php | |
| 2365 | php.net/manual/en/imagick.radialblurimage.php | |
| 2375 | php.net/manual/en/imagick.raiseimage.php | |
| 2388 | php.net/manual/en/imagick.resampleimage.php | |
| 2404 | php.net/manual/en/imagick.resizeimage.php | |
| 2419 | php.net/manual/en/imagick.rollimage.php | |
| 2433 | php.net/manual/en/imagick.rotateimage.php | |
| 2447 | php.net/manual/en/imagick.sampleimage.php | |
| 2457 | php.net/manual/en/imagick.solarizeimage.php | |
| 2466 | php.net/manual/en/imagick.shadowimage.php | |
| 2484 | php.net/manual/en/imagick.setimagebackgroundcolor.php | |
| 2493 | php.net/manual/en/imagick.setimagecompose.php | |
| 2502 | php.net/manual/en/imagick.setimagecompression.php | |
| 2513 | php.net/manual/en/imagick.setimagedelay.php | |
| 2526 | php.net/manual/en/imagick.setimagedepth.php | |
| 2535 | php.net/manual/en/imagick.setimagegamma.php | |
| 2544 | php.net/manual/en/imagick.setimageiterations.php | |
| 2556 | php.net/manual/en/imagick.setimagemattecolor.php | |
| 2565 | php.net/manual/en/imagick.setimagepage.php | |
| 2582 | php.net/manual/en/imagick.setimageresolution.php | |
| 2592 | php.net/manual/en/imagick.setimagescene.php | |
| 2601 | php.net/manual/en/imagick.setimagetickspersecond.php | |
| 2613 | php.net/manual/en/imagick.setimagetype.php | |
| 2622 | php.net/manual/en/imagick.setimageunits.php | |
| 2631 | php.net/manual/en/imagick.sharpenimage.php | |
| 2642 | php.net/manual/en/imagick.shaveimage.php | |
| 2652 | php.net/manual/en/imagick.shearimage.php | |
| 2669 | php.net/manual/en/imagick.spliceimage.php | |
| 2681 | php.net/manual/en/imagick.pingimage.php | |
| 2692 | php.net/manual/en/imagick.readimagefile.php | |
| 2702 | php.net/manual/en/imagick.displayimage.php | |
| 2713 | php.net/manual/en/imagick.displayimages.php | |
| 2724 | php.net/manual/en/imagick.spreadimage.php | |
| 2733 | php.net/manual/en/imagick.swirlimage.php | |
| 2742 | php.net/manual/en/imagick.stripimage.php | |
| 2750 | php.net/manual/en/imagick.queryformats.php | |
| 2759 | php.net/manual/en/imagick.queryfonts.php | |
| 2770 | php.net/manual/en/imagick.queryfontmetrics.php | |
| 2787 | php.net/manual/en/imagick.steganoimage.php | |
| 2797 | php.net/manual/en/imagick.addnoiseimage.php | |
| 2812 | php.net/manual/en/imagick.motionblurimage.php | |
| 2837 | php.net/manual/en/imagick.mosaicimages.php | |
| 2845 | php.net/manual/en/imagick.morphimages.php | |
| 2858 | php.net/manual/en/imagick.minifyimage.php | |
| 2866 | php.net/manual/en/imagick.affinetransformimage.php | |
| 2877 | php.net/manual/en/imagick.averageimages.php | |
| 2885 | php.net/manual/en/imagick.borderimage.php | |
| 2902 | php.net/manual/en/imagick.chopimage.php | |
| 2922 | php.net/manual/en/imagick.clipimage.php | |
| 2930 | php.net/manual/en/imagick.clippathimage.php | |
| 2951 | php.net/manual/en/imagick.coalesceimages.php | |
| 2959 | php.net/manual/en/imagick.colorfloodfillimage.php | |
| 2984 | php.net/manual/en/imagick.colorizeimage.php | |
| 3002 | php.net/manual/en/imagick.compareimagechannels.php | |
| 3023 | php.net/manual/en/imagick.compareimages.php | |
| 3040 | php.net/manual/en/imagick.contrastimage.php | |
| 3051 | php.net/manual/en/imagick.combineimages.php | |
| 3065 | php.net/manual/en/imagick.convolveimage.php | |
| 3082 | php.net/manual/en/imagick.cyclecolormapimage.php | |
| 3093 | php.net/manual/en/imagick.deconstructimages.php | |
| 3101 | php.net/manual/en/imagick.despeckleimage.php | |
| 3109 | php.net/manual/en/imagick.edgeimage.php | |
| 3120 | php.net/manual/en/imagick.embossimage.php | |
| 3134 | php.net/manual/en/imagick.enhanceimage.php | |
| 3142 | php.net/manual/en/imagick.equalizeimage.php | |
| 3150 | php.net/manual/en/imagick.evaluateimage.php | |
| 3173 | php.net/manual/en/imagick.flattenimages.php | |
| 3183 | php.net/manual/en/imagick.flipimage.php | |
| 3191 | php.net/manual/en/imagick.flopimage.php | |
| 3199 | php.net/manual/en/imagick.frameimage.php | |
| 3222 | php.net/manual/en/imagick.fximage.php | |
| 3239 | php.net/manual/en/imagick.gammaimage.php | |
| 3256 | php.net/manual/en/imagick.gaussianblurimage.php | |
| 3281 | php.net/manual/en/imagick.getimagebackgroundcolor.php | |
| 3289 | php.net/manual/en/imagick.getimageblueprimary.php | |
| 3297 | php.net/manual/en/imagick.getimagebordercolor.php | |
| 3305 | php.net/manual/en/imagick.getimagechanneldepth.php | |
| 3316 | php.net/manual/en/imagick.getimagechanneldistortion.php | |
| 3336 | php.net/manual/en/imagick.getimagechannelextrema.php | |
| 3350 | php.net/manual/en/imagick.getimagechannelmean.php | |
| 3364 | php.net/manual/en/imagick.getimagechannelstatistics.php | |
| 3372 | php.net/manual/en/imagick.getimagecolormapcolor.php | |
| 3383 | php.net/manual/en/imagick.getimagecolorspace.php | |
| 3391 | php.net/manual/en/imagick.getimagecompose.php | |
| 3399 | php.net/manual/en/imagick.getimagedelay.php | |
| 3407 | php.net/manual/en/imagick.getimagedepth.php | |
| 3415 | php.net/manual/en/imagick.getimagedistortion.php | |
| 3430 | php.net/manual/en/imagick.getimageextrema.php | |
| 3438 | php.net/manual/en/imagick.getimagedispose.php | |
| 3446 | php.net/manual/en/imagick.getimagegamma.php | |
| 3454 | php.net/manual/en/imagick.getimagegreenprimary.php | |
| 3463 | php.net/manual/en/imagick.getimageheight.php | |
| 3471 | php.net/manual/en/imagick.getimagehistogram.php | |
| 3479 | php.net/manual/en/imagick.getimageinterlacescheme.php | |
| 3489 | php.net/manual/en/imagick.getimageiterations.php | |
| 3497 | php.net/manual/en/imagick.getimagemattecolor.php | |
| 3505 | php.net/manual/en/imagick.getimagepage.php | |
| 3514 | php.net/manual/en/imagick.getimagepixelcolor.php | |
| 3528 | php.net/manual/en/imagick.getimageprofile.php | |
| 3539 | php.net/manual/en/imagick.getimageredprimary.php | |
| 3550 | php.net/manual/en/imagick.getimagerenderingintent.php | |
| 3558 | php.net/manual/en/imagick.getimageresolution.php | |
| 3566 | php.net/manual/en/imagick.getimagescene.php | |
| 3574 | php.net/manual/en/imagick.getimagesignature.php | |
| 3582 | php.net/manual/en/imagick.getimagetickspersecond.php | |
| 3590 | php.net/manual/en/imagick.getimagetype.php | |
| 3609 | php.net/manual/en/imagick.getimageunits.php | |
| 3617 | php.net/manual/en/imagick.getimagevirtualpixelmethod.php | |
| 3625 | php.net/manual/en/imagick.getimagewhitepoint.php | |
| 3634 | php.net/manual/en/imagick.getimagewidth.php | |
| 3642 | php.net/manual/en/imagick.getnumberimages.php | |
| 3650 | php.net/manual/en/imagick.getimagetotalinkdensity.php | |
| 3660 | php.net/manual/en/imagick.getimageregion.php | |
| 3680 | php.net/manual/en/imagick.implodeimage.php | |
| 3691 | php.net/manual/en/imagick.levelimage.php | |
| 3714 | php.net/manual/en/imagick.magnifyimage.php | |
| 3722 | php.net/manual/en/imagick.mapimage.php | |
| 3732 | php.net/manual/en/imagick.mattefloodfillimage.php | |
| 3757 | php.net/manual/en/imagick.medianfilterimage.php | |
| 3768 | php.net/manual/en/imagick.negateimage.php | |
| 3785 | php.net/manual/en/imagick.paintopaqueimage.php | |
| 3810 | php.net/manual/en/imagick.painttransparentimage.php | |
| 3829 | php.net/manual/en/imagick.previewimages.php | |
| 3840 | php.net/manual/en/imagick.profileimage.php | |
| 3850 | php.net/manual/en/imagick.quantizeimage.php | |
| 3863 | php.net/manual/en/imagick.quantizeimages.php | |
| 3876 | php.net/manual/en/imagick.reducenoiseimage.php | |
| 3885 | php.net/manual/en/imagick.removeimageprofile.php | |
| 3894 | php.net/manual/en/imagick.separateimagechannel.php | |
| 3903 | php.net/manual/en/imagick.sepiatoneimage.php | |
| 3912 | php.net/manual/en/imagick.setimagebias.php | |
| 3921 | php.net/manual/en/imagick.setimageblueprimary.php | |
| 3931 | php.net/manual/en/imagick.setimagebordercolor.php | |
| 3942 | php.net/manual/en/imagick.setimagechanneldepth.php | |
| 3952 | php.net/manual/en/imagick.setimagecolormapcolor.php | |
| 3962 | php.net/manual/en/imagick.setimagecolorspace.php | |
| 3973 | php.net/manual/en/imagick.setimagedispose.php | |
| 3982 | php.net/manual/en/imagick.setimageextent.php | |
| 3992 | php.net/manual/en/imagick.setimagegreenprimary.php | |
| 4002 | php.net/manual/en/imagick.setimageinterlacescheme.php | |
| 4011 | php.net/manual/en/imagick.setimageprofile.php | |
| 4021 | php.net/manual/en/imagick.setimageredprimary.php | |
| 4031 | php.net/manual/en/imagick.setimagerenderingintent.php | |
| 4040 | php.net/manual/en/imagick.setimagevirtualpixelmethod.php | |
| 4049 | php.net/manual/en/imagick.setimagewhitepoint.php | |
| 4059 | php.net/manual/en/imagick.sigmoidalcontrastimage.php | |
| 4071 | php.net/manual/en/imagick.stereoimage.php | |
| 4080 | php.net/manual/en/imagick.textureimage.php | |
| 4089 | php.net/manual/en/imagick.tintimage.php | |
| 4102 | php.net/manual/en/imagick.unsharpmaskimage.php | |
| 4115 | php.net/manual/en/imagick.getimage.php | |
| 4123 | php.net/manual/en/imagick.addimage.php | |
| 4134 | php.net/manual/en/imagick.setimage.php | |
| 4145 | php.net/manual/en/imagick.newimage.php | |
| 4165 | php.net/manual/en/imagick.newpseudoimage.php | |
| 4182 | php.net/manual/en/imagick.getcompression.php | |
| 4190 | php.net/manual/en/imagick.getcompressionquality.php | |
| 4198 | php.net/manual/en/imagick.getcopyright.php | |
| 4207 | php.net/manual/en/imagick.getfilename.php | |
| 4215 | php.net/manual/en/imagick.getformat.php | |
| 4223 | php.net/manual/en/imagick.gethomeurl.php | |
| 4231 | php.net/manual/en/imagick.getinterlacescheme.php | |
| 4240 | php.net/manual/en/imagick.getoption.php | |
| 4251 | php.net/manual/en/imagick.getpackagename.php | |
| 4259 | php.net/manual/en/imagick.getpage.php | |
| 4270 | php.net/manual/en/imagick.getquantumdepth.php | |
| 4278 | php.net/manual/en/imagick.getquantumrange.php | |
| 4286 | php.net/manual/en/imagick.getreleasedate.php | |
| 4294 | php.net/manual/en/imagick.getresource.php | |
| 4305 | php.net/manual/en/imagick.getresourcelimit.php | |
| 4316 | php.net/manual/en/imagick.getsamplingfactors.php | |
| 4325 | php.net/manual/en/imagick.getsize.php | |
| 4334 | php.net/manual/en/imagick.getversion.php | |
| 4342 | php.net/manual/en/imagick.setbackgroundcolor.php | |
| 4351 | php.net/manual/en/imagick.setcompression.php | |
| 4360 | php.net/manual/en/imagick.setcompressionquality.php | |
| 4369 | php.net/manual/en/imagick.setfilename.php | |
| 4378 | php.net/manual/en/imagick.setformat.php | |
| 4387 | php.net/manual/en/imagick.setinterlacescheme.php | |
| 4396 | php.net/manual/en/imagick.setoption.php | |
| 4406 | php.net/manual/en/imagick.setpage.php | |
| 4418 | php.net/manual/en/imagick.setresourcelimit.php | |
| 4432 | php.net/manual/en/imagick.setresolution.php | |
| 4446 | php.net/manual/en/imagick.setsamplingfactors.php | |
| 4455 | php.net/manual/en/imagick.setsize.php | |
| 4465 | php.net/manual/en/imagick.settype.php | |
| 4480 | php.net/manual/en/imagick.valid.php | |
| 4488 | php.net/manual/en/imagick.current.php | |
| 4495 | php.net/manual/en/imagick.brightnesscontrastimage.php | |
| 4506 | php.net/manual/en/imagick.morphology.php | |
| 4518 | php.net/manual/en/imagick.filter.php | |
| 4529 | php.net/manual/en/imagick.colormatriximage.php | |
| 4538 | php.net/manual/en/imagick.deleteimageproperty.php | |
| 4547 | php.net/manual/en/imagick.forwardfouriertransformimage.php | |
| 4556 | php.net/manual/en/imagick.getimagecompression.php | |
| 4564 | php.net/manual/en/imagick.getregistry.php | |
| 4574 | php.net/manual/en/imagick.getquantum.php | |
| 4581 | www.imagemagick.org/script/escape.php for escape sequences. | |
| 4582 | php.net/manual/en/imagick.identifyformat.php | |
| 4583 | www.imagemagick.org/script/escape.php | |
| 4592 | php.net/manual/en/imagick.inversefouriertransformimage.php | |
| 4602 | php.net/manual/en/imagick.listregistry.php | |
| 4610 | php.net/manual/en/imagick.rotationalblurimage.php | |
| 4620 | php.net/manual/en/imagick.selectiveblurimage.php | |
| 4639 | php.net/manual/en/imagick.setimagebiasquantum.php | |
| 4648 | php.net/manual/en/imagick.setprogressmonitor.php | |
| 4661 | php.net/manual/en/imagick.setregistry.php | |
| 4671 | php.net/manual/en/imagick.statisticimage.php | |
| 4688 | php.net/manual/en/imagick.subimagematch.php | |
| 4742 | www.imagemagick.org/Usage/layers/#evaluate-sequence | |
| 4745 | www.imagemagick.org/Usage/layers/#evaluate-sequence | |
| 4805 | php.net/manual/en/class.imagickdraw.php | |
| 4835 | php.net/manual/en/imagickdraw.construct.php | |
| 4842 | php.net/manual/en/imagickdraw.setfillcolor.php | |
| 4853 | php.net/manual/en/imagickdraw.setfillalpha.php | |
| 4870 | php.net/manual/en/imagickdraw.setstrokecolor.php | |
| 4881 | php.net/manual/en/imagickdraw.setstrokealpha.php | |
| 4892 | php.net/manual/en/imagickdraw.setstrokewidth.php | |
| 4903 | php.net/manual/en/imagickdraw.clear.php | |
| 4911 | php.net/manual/en/imagickdraw.circle.php | |
| 4931 | php.net/manual/en/imagickdraw.annotation.php | |
| 4948 | php.net/manual/en/imagickdraw.settextantialias.php | |
| 4957 | php.net/manual/en/imagickdraw.settextencoding.php | |
| 4968 | php.net/manual/en/imagickdraw.setfont.php | |
| 4977 | php.net/manual/en/imagickdraw.setfontfamily.php | |
| 4988 | php.net/manual/en/imagickdraw.setfontsize.php | |
| 4999 | php.net/manual/en/imagickdraw.setfontstyle.php | |
| 5010 | php.net/manual/en/imagickdraw.setfontweight.php | |
| 5019 | php.net/manual/en/imagickdraw.getfont.php | |
| 5027 | php.net/manual/en/imagickdraw.getfontfamily.php | |
| 5035 | php.net/manual/en/imagickdraw.getfontsize.php | |
| 5043 | php.net/manual/en/imagickdraw.getfontstyle.php | |
| 5052 | php.net/manual/en/imagickdraw.getfontweight.php | |
| 5060 | php.net/manual/en/imagickdraw.destroy.php | |
| 5068 | php.net/manual/en/imagickdraw.rectangle.php | |
| 5088 | php.net/manual/en/imagickdraw.roundrectangle.php | |
| 5114 | php.net/manual/en/imagickdraw.ellipse.php | |
| 5128 | php.net/manual/en/imagickdraw.skewx.php | |
| 5139 | php.net/manual/en/imagickdraw.skewy.php | |
| 5150 | php.net/manual/en/imagickdraw.translate.php | |
| 5164 | php.net/manual/en/imagickdraw.line.php | |
| 5184 | php.net/manual/en/imagickdraw.arc.php | |
| 5210 | php.net/manual/en/imagickdraw.matte.php | |
| 5227 | php.net/manual/en/imagickdraw.polygon.php | |
| 5238 | php.net/manual/en/imagickdraw.point.php | |
| 5252 | php.net/manual/en/imagickdraw.gettextdecoration.php | |
| 5261 | php.net/manual/en/imagickdraw.gettextencoding.php | |
| 5272 | php.net/manual/en/imagickdraw.setfontstretch.php | |
| 5283 | php.net/manual/en/imagickdraw.setstrokeantialias.php | |
| 5294 | php.net/manual/en/imagickdraw.settextalignment.php | |
| 5305 | php.net/manual/en/imagickdraw.settextdecoration.php | |
| 5316 | php.net/manual/en/imagickdraw.settextundercolor.php | |
| 5327 | php.net/manual/en/imagickdraw.setviewbox.php | |
| 5347 | php.net/manual/en/imagickdraw.affine.php | |
| 5358 | php.net/manual/en/imagickdraw.bezier.php | |
| 5370 | php.net/manual/en/imagickdraw.composite.php | |
| 5396 | php.net/manual/en/imagickdraw.color.php | |
| 5413 | php.net/manual/en/imagickdraw.comment.php | |
| 5424 | php.net/manual/en/imagickdraw.getclippath.php | |
| 5432 | php.net/manual/en/imagickdraw.getcliprule.php | |
| 5440 | php.net/manual/en/imagickdraw.getclipunits.php | |
| 5448 | php.net/manual/en/imagickdraw.getfillcolor.php | |
| 5456 | php.net/manual/en/imagickdraw.getfillopacity.php | |
| 5464 | php.net/manual/en/imagickdraw.getfillrule.php | |
| 5472 | php.net/manual/en/imagickdraw.getgravity.php | |
| 5480 | php.net/manual/en/imagickdraw.getstrokeantialias.php | |
| 5488 | php.net/manual/en/imagickdraw.getstrokecolor.php | |
| 5496 | php.net/manual/en/imagickdraw.getstrokedasharray.php | |
| 5504 | php.net/manual/en/imagickdraw.getstrokedashoffset.php | |
| 5512 | php.net/manual/en/imagickdraw.getstrokelinecap.php | |
| 5520 | php.net/manual/en/imagickdraw.getstrokelinejoin.php | |
| 5528 | php.net/manual/en/imagickdraw.getstrokemiterlimit.php | |
| 5537 | php.net/manual/en/imagickdraw.getstrokeopacity.php | |
| 5545 | php.net/manual/en/imagickdraw.getstrokewidth.php | |
| 5553 | php.net/manual/en/imagickdraw.gettextalignment.php | |
| 5561 | php.net/manual/en/imagickdraw.gettextantialias.php | |
| 5569 | php.net/manual/en/imagickdraw.getvectorgraphics.php | |
| 5577 | php.net/manual/en/imagickdraw.gettextundercolor.php | |
| 5585 | php.net/manual/en/imagickdraw.pathclose.php | |
| 5593 | php.net/manual/en/imagickdraw.pathcurvetoabsolute.php | |
| 5619 | php.net/manual/en/imagickdraw.pathcurvetorelative.php | |
| 5645 | php.net/manual/en/imagickdraw.pathcurvetoquadraticbezierabsolute.php | |
| 5665 | php.net/manual/en/imagickdraw.pathcurvetoquadraticbezierrelative.php | |
| 5685 | php.net/manual/en/imagickdraw.pathcurvetoquadraticbeziersmoothabsolute.php | |
| 5699 | php.net/manual/en/imagickdraw.pathcurvetoquadraticbeziersmoothrelative.php | |
| 5713 | php.net/manual/en/imagickdraw.pathcurvetosmoothabsolute.php | |
| 5733 | php.net/manual/en/imagickdraw.pathcurvetosmoothrelative.php | |
| 5753 | php.net/manual/en/imagickdraw.pathellipticarcabsolute.php | |
| 5782 | php.net/manual/en/imagickdraw.pathellipticarcrelative.php | |
| 5811 | php.net/manual/en/imagickdraw.pathfinish.php | |
| 5819 | php.net/manual/en/imagickdraw.pathlinetoabsolute.php | |
| 5833 | php.net/manual/en/imagickdraw.pathlinetorelative.php | |
| 5847 | php.net/manual/en/imagickdraw.pathlinetohorizontalabsolute.php | |
| 5858 | php.net/manual/en/imagickdraw.pathlinetohorizontalrelative.php | |
| 5869 | php.net/manual/en/imagickdraw.pathlinetoverticalabsolute.php | |
| 5880 | php.net/manual/en/imagickdraw.pathlinetoverticalrelative.php | |
| 5891 | php.net/manual/en/imagickdraw.pathmovetoabsolute.php | |
| 5905 | php.net/manual/en/imagickdraw.pathmovetorelative.php | |
| 5919 | php.net/manual/en/imagickdraw.pathstart.php | |
| 5927 | php.net/manual/en/imagickdraw.polyline.php | |
| 5938 | php.net/manual/en/imagickdraw.popclippath.php | |
| 5946 | php.net/manual/en/imagickdraw.popdefs.php | |
| 5954 | php.net/manual/en/imagickdraw.poppattern.php | |
| 5962 | php.net/manual/en/imagickdraw.pushclippath.php | |
| 5973 | php.net/manual/en/imagickdraw.pushdefs.php | |
| 5981 | php.net/manual/en/imagickdraw.pushpattern.php | |
| 6004 | php.net/manual/en/imagickdraw.render.php | |
| 6012 | php.net/manual/en/imagickdraw.rotate.php | |
| 6023 | php.net/manual/en/imagickdraw.scale.php | |
| 6037 | php.net/manual/en/imagickdraw.setclippath.php | |
| 6048 | php.net/manual/en/imagickdraw.setcliprule.php | |
| 6059 | php.net/manual/en/imagickdraw.setclipunits.php | |
| 6070 | php.net/manual/en/imagickdraw.setfillopacity.php | |
| 6081 | php.net/manual/en/imagickdraw.setfillpatternurl.php | |
| 6092 | php.net/manual/en/imagickdraw.setfillrule.php | |
| 6103 | php.net/manual/en/imagickdraw.setgravity.php | |
| 6114 | php.net/manual/en/imagickdraw.setstrokepatternurl.php | |
| 6125 | php.net/manual/en/imagickdraw.setstrokedashoffset.php | |
| 6136 | php.net/manual/en/imagickdraw.setstrokelinecap.php | |
| 6147 | php.net/manual/en/imagickdraw.setstrokelinejoin.php | |
| 6158 | php.net/manual/en/imagickdraw.setstrokemiterlimit.php | |
| 6169 | php.net/manual/en/imagickdraw.setstrokeopacity.php | |
| 6180 | php.net/manual/en/imagickdraw.setvectorgraphics.php | |
| 6191 | php.net/manual/en/imagickdraw.pop.php | |
| 6199 | php.net/manual/en/imagickdraw.push.php | |
| 6207 | php.net/manual/en/imagickdraw.setstrokedasharray.php | |
| 6300 | php.net/manual/en/class.imagickpixeliterator.php | |
| 6307 | php.net/manual/en/imagickpixeliterator.construct.php | |
| 6315 | php.net/manual/en/imagickpixeliterator.newpixeliterator.php | |
| 6325 | php.net/manual/en/imagickpixeliterator.newpixelregioniterator.php | |
| 6339 | php.net/manual/en/imagickpixeliterator.getiteratorrow.php | |
| 6348 | php.net/manual/en/imagickpixeliterator.setiteratorrow.php | |
| 6357 | php.net/manual/en/imagickpixeliterator.setiteratorfirstrow.php | |
| 6365 | php.net/manual/en/imagickpixeliterator.setiteratorlastrow.php | |
| 6373 | php.net/manual/en/imagickpixeliterator.getpreviousiteratorrow.php | |
| 6383 | php.net/manual/en/imagickpixeliterator.getcurrentiteratorrow.php | |
| 6391 | php.net/manual/en/imagickpixeliterator.getnextiteratorrow.php | |
| 6401 | php.net/manual/en/imagickpixeliterator.resetiterator.php | |
| 6409 | php.net/manual/en/imagickpixeliterator.synciterator.php | |
| 6417 | php.net/manual/en/imagickpixeliterator.destroy.php | |
| 6425 | php.net/manual/en/imagickpixeliterator.clear.php | |
| 6458 | php.net/manual/en/class.imagickpixel.php | |
| 6465 | php.net/manual/en/imagickpixel.gethsl.php | |
| 6475 | php.net/manual/en/imagickpixel.sethsl.php | |
| 6509 | php.net/manual/en/imagickpixel.construct.php | |
| 6519 | php.net/manual/en/imagickpixel.setcolor.php | |
| 6531 | php.net/manual/en/imagickpixel.setcolorvalue.php | |
| 6545 | php.net/manual/en/imagickpixel.getcolorvalue.php | |
| 6560 | php.net/manual/en/imagickpixel.clear.php | |
| 6568 | php.net/manual/en/imagickpixel.destroy.php | |
| 6576 | php.net/manual/en/imagickpixel.issimilar.php | |
| 6592 | php.net/manual/en/imagickpixel.ispixelsimilar.php | |
| 6608 | php.net/manual/en/imagickpixel.getcolor.php | |
| 6621 | php.net/manual/en/imagickpixel.getcolorasstring.php | |
| 6629 | php.net/manual/en/imagickpixel.getcolorcount.php | |
| 6645 | php.net/manual/en/imagickpixel.ispixelsimilarquantum.php | |
| 6655 | php.net/manual/en/imagickpixel.getcolorquantum.php | |
| 6670 | End of imagick v.3.2.0RC1 | |
| 6672 | Start of Imagick v3.3.0RC1 | |
| 6675 | php.net/manual/en/class.imagickkernel.php | |
| 6680 | php.net/manual/en/imagickkernel.addkernel.php | |
| 6689 | php.net/manual/en/imagickkernel.addunitykernel.php | |
| 6696 | www.imagemagick.org/Usage/morphology/#kernel for examples.<br> | |
| 6698 | php.net/manual/en/imagickkernel.frombuiltin.php | |
| 6707 | www.imagemagick.org/Usage/morphology/#kernel for examples.<br> | |
| 6709 | php.net/manual/en/imagickkernel.frombuiltin.php | |
| 6710 | www.imagemagick.org/Usage/morphology/#kernel | |
| 6720 | php.net/manual/en/imagickkernel.getmatrix.php | |
| 6728 | www.imagemagick.org/api/morphology.php#ScaleKernelInfo for details.<br> | |
| 6730 | php.net/manual/en/imagickkernel.scale.php | |
| 6731 | www.imagemagick.org/api/morphology.php#ScaleKernelInfo | |
| 6739 | php.net/manual/en/imagickkernel.separate.php |
custom_output.php
| Type | Line | Description |
|---|---|---|
| 17 | www.youtube.com/watch?v=DLzxrzFCyOs&t=43s'; | |
| 19 | invoke the QROutputInterface manually | |
| 30 | or just |
fpdf.php
| Type | Line | Description |
|---|---|---|
| 9 | www.youtube.com/watch?v=DLzxrzFCyOs&t=43s'; | |
| 18 | finder | |
| 19 | dark (true) | |
| 20 | light (false), white is the transparency color and is enabled by default | |
| 21 | alignment | |
| 24 | timing | |
| 27 | format | |
| 30 | version | |
| 33 | data | |
| 36 | darkmodule | |
| 38 | separator | |
| 40 | quietzone |
html.php
| Type | Line | Description |
|---|---|---|
| 60 | www.youtube.com/watch?v=DLzxrzFCyOs&t=43s'; | |
| 67 | finder | |
| 68 | dark (true) | |
| 69 | light (false) | |
| 70 | alignment | |
| 73 | timing | |
| 76 | format | |
| 79 | version | |
| 82 | data | |
| 85 | darkmodule | |
| 87 | separator | |
| 89 | quietzone |
image.php
| Type | Line | Description |
|---|---|---|
| 17 | www.youtube.com/watch?v=DLzxrzFCyOs&t=43s'; | |
| 26 | finder | |
| 27 | dark (true) | |
| 28 | light (false), white is the transparency color and is enabled by default | |
| 29 | finder dot, dark (true) | |
| 30 | alignment | |
| 33 | timing | |
| 36 | format | |
| 39 | version | |
| 42 | data | |
| 45 | darkmodule | |
| 47 | separator | |
| 49 | quietzone | |
| 51 | logo (requires a call to QRMatrix::setLogoSpace()) |
imageWithLogo.php
| Type | Line | Description |
|---|---|---|
| 17 | www.youtube.com/watch?v=DLzxrzFCyOs&t=43s'; | |
| 25 | size in QR modules, multiply with QROptions::$scale for pixel size | |
| 44 | dump the output, with an additional logo |
imageWithText.php
| Type | Line | Description |
|---|---|---|
| 4 | github.com/chillerlan/php-qrcode/issues/35 | |
| 19 | www.youtube.com/watch?v=DLzxrzFCyOs&t=43s'; | |
| 32 | dump the output, with additional text |
imagick.php
| Type | Line | Description |
|---|---|---|
| 17 | www.youtube.com/watch?v=DLzxrzFCyOs&t=43s'; | |
| 25 | finder | |
| 26 | dark (true) | |
| 27 | light (false) | |
| 28 | alignment | |
| 31 | timing | |
| 34 | format | |
| 37 | version | |
| 40 | data | |
| 43 | darkmodule | |
| 45 | separator | |
| 47 | quietzone |
MyCustomOutput.php
| Type | Line | Description |
|---|---|---|
| 20 | TODO: Implement setModuleValues() method. |
QRImageWithLogo.php
| Type | Line | Description |
|---|---|---|
| 34 | set returnResource to true to skip further processing for now | |
| 37 | of course you could accept other formats too (such as resource or Imagick) | |
| 38 | i'm not checking for the file type either for simplicity reasons (assuming PNG) | |
| 46 | not utilizing the position here | |
| 49 | there's no need to save the result of dump() into $this->image here | |
| 54 | get logo image size | |
| 58 | set new logo size, leave a border of 1 module (no proportional resize/centering) | |
| 62 | get the qrcode size | |
| 65 | scale the logo and copy it over. done! |
QRImageWithText.php
| Type | Line | Description |
|---|---|---|
| 7 | github.com/chillerlan/php-qrcode/issues/35 | |
| 35 | set returnResource to true to skip further processing for now | |
| 38 | there's no need to save the result of dump() into $this->image here | |
| 41 | render text output if a string is given | |
| 63 | save the qrcode image | |
| 66 | options things | |
| 67 | see imagefontheight() and imagefontwidth() | |
| 72 | 20px extra space | |
| 74 | create a new image with additional space | |
| 78 | allow transparency | |
| 83 | fill the background | |
| 86 | copy over the qrcode | |
| 94 | loop through the string and draw the letters |
svg.php
| Type | Line | Description |
|---|---|---|
| 17 | www.youtube.com/watch?v=DLzxrzFCyOs&t=43s'; | |
| 40 | finder | |
| 41 | dark (true) | |
| 42 | light (false) | |
| 43 | alignment | |
| 46 | timing | |
| 49 | format | |
| 52 | version | |
| 55 | data | |
| 58 | darkmodule | |
| 60 | separator | |
| 62 | quietzone |
text.php
| Type | Line | Description |
|---|---|---|
| 17 | www.youtube.com/watch?v=DLzxrzFCyOs&t=43s'; | |
| 25 | <pre> to view it in a browser | |
| 29 | custom values | |
| 35 | finder | |
| 36 | dark (true) | |
| 37 | light (false) | |
| 38 | alignment | |
| 41 | timing | |
| 44 | format | |
| 47 | version | |
| 50 | data | |
| 53 | darkmodule | |
| 55 | separator | |
| 57 | quietzone | |
| 62 | <pre> to view it in a browser |
qrcode.php
| Type | Line | Description |
|---|---|---|
| 20 | finder | |
| 23 | alignment | |
| 26 | timing | |
| 29 | format | |
| 32 | version | |
| 35 | data | |
| 38 | darkmodule | |
| 40 | separator | |
| 42 | quietzone | |
| 84 | Pokémon exception handler |
MaskPatternTester.php
| Type | Line | Description |
|---|---|---|
| 24 | www.thonky.com/qr-code-tutorial/data-masking |
Number.php
| Type | Line | Description |
|---|---|---|
| 70 | ord('0') |
QRDataAbstract.php
| Type | Line | Description |
|---|---|---|
| 142 | guess the version number within the given range | |
| 181 | overflow, likely caused due to invalid version setting | |
| 186 | add terminator (ISO/IEC 18004:2000 Table 2) | |
| 191 | padding | |
| 196 | padding | |
| 219 | www.thonky.com/qr-code-tutorial/error-correction-coding |
QRDataInterface.php
| Type | Line | Description |
|---|---|---|
| 45 | www.qrcode.com/en/about/version.html | |
| 50 | v => [NUMERIC => [L, M, Q, H ], ALPHANUM => [L, M, Q, H], BINARY => [L, M, Q, H ], KANJI => [L, M, Q, H ]] // modules | |
| 51 | 21 | |
| 52 | 25 | |
| 53 | 29 | |
| 54 | 33 | |
| 55 | 37 | |
| 56 | 41 | |
| 57 | 45 | |
| 58 | 49 | |
| 59 | 53 | |
| 60 | 57 | |
| 61 | 61 | |
| 62 | 65 | |
| 63 | 69 NICE! | |
| 64 | 73 | |
| 65 | 77 | |
| 66 | 81 | |
| 67 | 85 | |
| 68 | 89 | |
| 69 | 93 | |
| 70 | 97 | |
| 71 | 101 | |
| 72 | 105 | |
| 73 | 109 | |
| 74 | 113 | |
| 75 | 117 | |
| 76 | 121 | |
| 77 | 125 | |
| 78 | 129 | |
| 79 | 133 | |
| 80 | 137 | |
| 81 | 141 | |
| 82 | 145 | |
| 83 | 149 | |
| 84 | 153 | |
| 85 | 157 | |
| 86 | 161 | |
| 87 | 165 | |
| 88 | 169 | |
| 89 | 173 | |
| 90 | 177 | |
| 99 | version => [L, M, Q, H ] | |
| 143 | www.thonky.com/qr-code-tutorial/error-correction-table |
QRMatrix.php
| Type | Line | Description |
|---|---|---|
| 24 | www.thonky.com/qr-code-tutorial/format-version-information | |
| 157 | L | |
| 167 | M | |
| 177 | Q | |
| 187 | H | |
| 366 | top left | |
| 367 | bottom left | |
| 368 | top right | |
| 374 | outer (dark) 7*7 square | |
| 378 | inner (light) 5*5 square | |
| 382 | 3*3 dot | |
| 433 | skip existing patterns | |
| 468 | h | |
| 469 | v | |
| 490 | ne | |
| 491 | sw | |
| 587 | github.com/chillerlan/php-qrcode/issues/52 | |
| 593 | for logos we operate in ECC H (30%) only | |
| 598 | we need uneven sizes to center the logo space, adjust if needed | |
| 607 | $this->moduleCount includes the quiet zone (if created), we need the QR size here | |
| 610 | throw if the logo space exceeds the maximum error correction capacity | |
| 615 | quiet zone size | |
| 617 | skip quiet zone and the first 9 rows/columns (finder-, mode-, version- and timing patterns) | |
| 619 | skip quiet zone | |
| 622 | determine start coordinates | |
| 626 | clear the space | |
| 629 | out of bounds, skip | |
| 633 | a match | |
| 714 | www.thonky.com/qr-code-tutorial/mask-patterns) | |
| 725 | @codeCoverageIgnore |
Polynomial.php
| Type | Line | Description |
|---|---|---|
| 22 | www.thonky.com/qr-code-tutorial/error-correction-coding | |
| 27 | www.thonky.com/qr-code-tutorial/log-antilog-table |
QRFpdf.php
| Type | Line | Description |
|---|---|---|
| 5 | github.com/chillerlan/php-qrcode/pull/49 | |
| 27 | github.com/Setasign/FPDF | |
| 28 | www.fpdf.org/ | |
| 35 | @codeCoverageIgnoreStart | |
| 39 | @codeCoverageIgnoreEnd |
QRImage.php
| Type | Line | Description |
|---|---|---|
| 29 | php.net/manual/book.image.php | |
| 63 | @codeCoverageIgnore | |
| 102 | avoid: Indirect modification of overloaded property $imageTransparencyBG has no effect | |
| 103 | https://stackoverflow.com/a/10455217 | |
| 161 | not going to cover edge cases | |
| 162 | @codeCoverageIgnoreStart | |
| 166 | @codeCoverageIgnoreEnd |
QRImagick.php
| Type | Line | Description |
|---|---|---|
| 27 | php.net/manual/book.imagick.php | |
| 28 | phpimagick.com | |
| 40 | @codeCoverageIgnore |
QRMarkup.php
| Type | Line | Description |
|---|---|---|
| 29 | www.w3.org/2000/svg" class="qr-svg %1$s" '. | |
| 88 | github.com/codemasher/php-qrcode/pull/5 | |
| 102 | we'll combine active blocks within a single row as a lightweight compression technique | |
| 122 | avoid type coercion in sprintf() - phan happy | |
| 126 | reset count | |
| 144 | close svg | |
| 147 | if saving to file, append the correct headers | |
| 149 | W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">'. |
QROutputAbstract.php
| Type | Line | Description |
|---|---|---|
| 118 | call the built-in output method with the optional file path as parameter | |
| 119 | to make the called method aware if a cache file was given |
QROutputInterface.php
| Type | Line | Description |
|---|---|---|
| 23 | light | |
| 24 | 0 | |
| 25 | 4 | |
| 26 | 6 | |
| 27 | 8 | |
| 28 | 10 | |
| 29 | 12 | |
| 30 | 14 | |
| 31 | 16 | |
| 32 | 18 | |
| 33 | 20 | |
| 34 | 255 | |
| 35 | dark | |
| 36 | 512 | |
| 37 | 1024 | |
| 38 | 1536 | |
| 39 | 2560 | |
| 40 | 3072 | |
| 41 | 3584 | |
| 42 | 4096 | |
| 43 | 5632 | |
| 44 | 65280 |
QRCode.php
| Type | Line | Description |
|---|---|---|
| 28 | github.com/kazuhikoarase/qrcode-generator/tree/master/php | |
| 29 | www.qrcode.com/en/codes/model12.html | |
| 30 | www.swisseduc.ch/informatik/theoretische_informatik/qr_codes/docs/qr_standard.pdf | |
| 31 | en.wikipedia.org/wiki/QR_code | |
| 32 | www.thonky.com/qr-code-tutorial/ | |
| 41 | ISO/IEC 18004:2000 Table 2 | |
| 66 | ISO/IEC 18004:2000 Tables 12, 25 | |
| 69 | 7%. | |
| 71 | 15%. | |
| 73 | 25%. | |
| 75 | 30%. | |
| 216 | allow forcing the data mode | |
| 217 | see https://github.com/chillerlan/php-qrcode/issues/39 | |
| 232 | @codeCoverageIgnore |
QROptionsTrait.php
| Type | Line | Description |
|---|---|---|
| 79 | github.com/chillerlan/php-qrcode/issues/39 | |
| 126 | developer.mozilla.org/docs/Web/SVG/Element/defs | |
| 135 | css-tricks.com/scale-svg/#article-header-id-3 | |
| 227 | R, G, B | |
| 288 | invalid value - set to white as default | |
| 297 | cut off exceeding items | |
| 306 | clamp the values | |
| 310 | use the array values to not run into errors with the spread operator (...$arr) | |
| 337 | @todo throw or ignore silently? |
QRMatrixTest.php
| Type | Line | Description |
|---|---|---|
| 101 | default | |
| 103 | @todo: actual mask pattern after mapData() | |
| 319 | also testing size adjustment to uneven numbers | |
| 322 | NW corner | |
| 326 | SE corner | |
| 340 | logo space should not overwrite quiet zone & function patterns | |
| 351 | i just realized that setLogoSpace() could be called multiple times | |
| 352 | on the same instance and i'm not going to do anything about it :P |
QRFpdfTest.php
| Type | Line | Description |
|---|---|---|
| 66 | data | |
| 74 | tricking the code coverage | |
| 85 | substr() to avoid CreationDate |
QRImageTest.php
| Type | Line | Description |
|---|---|---|
| 63 | data | |
| 71 | tricking the code coverage |
QRImagickTest.php
| Type | Line | Description |
|---|---|---|
| 67 | data | |
| 75 | tricking the code coverage |
QRMarkupTest.php
| Type | Line | Description |
|---|---|---|
| 48 | data |
QROutputTestAbstract.php
| Type | Line | Description |
|---|---|---|
| 108 | creates the cache file | |
| 120 | may fail on CI, different PHP (platform) versions produce different output | |
| 121 | the samples were generated on php-7.4.3-Win32-vc15-x64 |
QRStringTest.php
| Type | Line | Description |
|---|---|---|
| 49 | data |
QRCodeTest.php
| Type | Line | Description |
|---|---|---|
| 76 | not empty! | |
| 108 | added space | |
| 116 | github.com/chillerlan/php-qrcode/issues/39 | |
| 120 | no (or invalid) value set - auto detection | |
| 129 | data mode set: force the given data mode |
config.php
| Type | Line | Description |
|---|---|---|
| 8 | Supported values: `'5.6'`, `'7.0'`, `'7.1'`, `'7.2'`, `'7.3'`, | |
| 9 | `'7.4'`, `null`. | |
| 10 | If this is set to `null`, | |
| 11 | then Phan assumes the PHP version which is closest to the minor version | |
| 12 | of the php executable used to execute Phan. | |
| 14 | // Note that the **only** effect of choosing `'5.6'` is to infer | |
| 15 | that functions removed in php 7.0 exist. | |
| 16 | (See `backward_compatibility_checks` for additional options) | |
| 19 | A list of directories that should be parsed for class and | |
| 20 | method information. After excluding the directories | |
| 21 | defined in exclude_analysis_directory_list, the remaining | |
| 22 | files will be statically analyzed for errors. | |
| 24 | // Thus, both first-party and third-party code being used by | |
| 25 | your application should be included in this list. | |
| 33 | A regex used to match every file name that you want to | |
| 34 | exclude from parsing. Actual value will exclude every | |
| 35 | "test", "tests", "Test" and "Tests" folders found in | |
| 36 | "vendor/" directory. | |
| 39 | A directory list that defines files that will be excluded | |
| 40 | from static analysis, but whose class and method | |
| 41 | information should be included. | |
| 43 | // Generally, you'll want to include the directories for | |
| 44 | third-party code (such as "vendor/") in this list. | |
| 46 | // n.b.: If you'd like to parse but not analyze 3rd | |
| 47 | party code, directories containing that code | |
| 48 | should be added to both the `directory_list` | |
| 49 | and `exclude_analysis_directory_list` arrays. |
advanced.php
| Type | Line | Description |
|---|---|---|
| 16 | from library #1 | |
| 20 | this method will be called in SettingsContainerAbstract::__construct() after the properties have been set | |
| 22 | just some constructor stuff... | |
| 27 | from library #2 | |
| 29 | provide default values | |
| 33 | SomeOptions | |
| 35 | MoreOptions | |
| 39 | now plug the several library options together to a single object | |
| 46 | ... | |
| 51 | -> WHATEVER (constructor ran strtoupper on the value) | |
| 52 | -> nothing |
simple.php
| Type | Line | Description |
|---|---|---|
| 25 | -> {"foo":"what","bar":"foo"} | |
| 27 | non-existing properties will be ignored: | |
| 30 | -> NULL |
ContainerTest.php
| Type | Line | Description |
|---|---|---|
| 45 | isset test | |
| 52 | custom getter | |
| 55 | nullable/isset test | |
| 71 | unset | |
| 75 | custom setter |
Guzzle.php
| Type | Line | Description |
|---|---|---|
| 24 | api.cloudflare.com/client/v4/'; |
GuzzleTest.php
| Type | Line | Description |
|---|---|---|
| 24 | httpbin.org/'); | |
| 29 | httpbin.org/get'); | |
| 37 | httpbin.org/get', [], ['X-Another-Test' => 'Test2']); | |
| 44 | httpbin.org/post', ['X-Post-Test' => 'Testing a POST request.']); | |
| 55 | httpbin.org/put', ['X-Put-Test' => 'Testing a PUT request.']); | |
| 67 | httpbin.org/patch', | |
| 81 | httpbin.org/delete', | |
| 134 | httpbin.org/status/404'); |
PageRulesActionTest.php
| Type | Line | Description |
|---|---|---|
| 10 | www.example.org/'; |
ZonesTest.php
| Type | Line | Description |
|---|---|---|
| 252 | example.com/file.jpg', | |
| 259 | example.com/file.jpg', |
autoload_classmap.php
| Type | Line | Description |
|---|---|---|
| 3 | autoload_classmap.php @generated by Composer |
autoload_files.php
| Type | Line | Description |
|---|---|---|
| 3 | autoload_files.php @generated by Composer |
autoload_namespaces.php
| Type | Line | Description |
|---|---|---|
| 3 | autoload_namespaces.php @generated by Composer |
autoload_psr4.php
| Type | Line | Description |
|---|---|---|
| 3 | autoload_psr4.php @generated by Composer |
autoload_real.php
| Type | Line | Description |
|---|---|---|
| 3 | autoload_real.php @generated by Composer |
autoload_static.php
| Type | Line | Description |
|---|---|---|
| 3 | autoload_static.php @generated by Composer |
ClassLoader.php
| Type | Line | Description |
|---|---|---|
| 20 | register classes with namespaces | |
| 24 | activate the autoloader | |
| 27 | to enable searching the include path (eg. for PEAR packages) | |
| 40 | www.php-fig.org/psr/psr-0/ | |
| 41 | www.php-fig.org/psr/psr-4/ | |
| 47 | PSR-4 | |
| 52 | PSR-0 | |
| 168 | Register directories for the root namespace. | |
| 181 | Register directories for a new namespace. | |
| 189 | Prepend directories for an already registered namespace. | |
| 195 | Append directories for an already registered namespace. | |
| 361 | class map lookup | |
| 377 | Search for Hack files if we are running on HHVM | |
| 387 | Remember that this class does not exist. | |
| 406 | PSR-4 lookup | |
| 426 | PSR-4 fallback dirs | |
| 433 | PSR-0 lookup | |
| 435 | namespaced class name | |
| 439 | PEAR-like class name | |
| 455 | PSR-0 fallback dirs | |
| 462 | PSR-0 include paths. |
platform_check.php
| Type | Line | Description |
|---|---|---|
| 3 | platform_check.php @generated by Composer |
JWK.php
| Type | Line | Description |
|---|---|---|
| 11 | tools.ietf.org/html/draft-ietf-jose-json-web-key-41 | |
| 18 | opensource.org/licenses/BSD-3-Clause 3-clause BSD | |
| 19 | github.com/firebase/php-jwt | |
| 101 | Currently only RSA is supported | |
| 134 | sequence(oid(1.2.840.113549.1.1.1), null)) = rsaEncryption. | |
| 135 | hex version of MA0GCSqGSIb3DQEBAQUA | |
| 157 | itu.int/ITU-T/studygroups/com17/languages/X.690-0207.pdf#p=13 X.690 paragraph 8.1.3} for more information. |
JWT.php
| Type | Line | Description |
|---|---|---|
| 13 | tools.ietf.org/html/rfc7519 | |
| 21 | opensource.org/licenses/BSD-3-Clause 3-clause BSD | |
| 22 | github.com/firebase/php-jwt | |
| 110 | OpenSSL expects an ASN.1 DER sequence for ES256/ES384 signatures | |
| 125 | Check the signature | |
| 130 | Check the nbf if it is defined. This is the time that the | |
| 131 | token can actually be used. If it's not yet that time, abort. | |
| 138 | Check that this token has been created before 'now'. This prevents | |
| 139 | using tokens that have been created for later use (and haven't | |
| 140 | correctly used the nbf claim). | |
| 147 | Check if this token has expired. | |
| 231 | The last non-empty line is used as the key. | |
| 269 | returns 1 on success, 0 on failure, -1 on error. | |
| 278 | The last non-empty line is used as the key. | |
| 401 | PHP >= 5.3.3 | |
| 433 | Separate the signature into r-value and s-value | |
| 436 | Trim leading zeros | |
| 440 | Convert r-value and s-value from unsigned big-endian integers to | |
| 441 | signed two's complement | |
| 470 | Type | |
| 473 | Length | |
| 488 | OpenSSL returns the ECDSA signatures as a binary ASN.1 DER SEQUENCE | |
| 493 | Convert r-value and s-value from signed two's compliment to unsigned | |
| 494 | big-endian integers | |
| 498 | Pad out r and s so that they are $keySize bits long | |
| 520 | Length | |
| 530 | Value | |
| 532 | Skip the first contents octet (padding indicator) |
autoload.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 25 | Maximum class file path depth in this project is 3. |
AccessToken.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 48 | www.googleapis.com/oauth2/v3/certs'; | |
| 49 | www.gstatic.com/iap/verify/public_key-jwk'; | |
| 50 | cloud.google.com/iap'; | |
| 52 | accounts.google.com'; | |
| 53 | oauth2.googleapis.com/revoke'; | |
| 122 | for backwards compatibility | |
| 124 | Check signature against each available cert. | |
| 137 | firebase/php-jwt 3+ | |
| 138 | firebase/php-jwt 2 | |
| 139 | firebase/php-jwt 3+ | |
| 140 | firebase/php-jwt 2 | |
| 141 | simplejwt | |
| 159 | tools.ietf.org/html/rfc7517). | |
| 187 | tools.ietf.org/html/rfc7517). | |
| 203 | Validate the signature using the key set and ES256 algorithm. | |
| 213 | @see https://cloud.google.com/iap/docs/signed-headers-howto#verifying_the_jwt_payload | |
| 227 | tools.ietf.org/html/rfc7517). | |
| 259 | create an array of key IDs to certs for the JWT library | |
| 275 | support HTTP and HTTPS issuers | |
| 276 | @see https://developers.google.com/identity/sign-in/web/backend-auth | |
| 350 | Push caching off until after verifying certs are in a valid format. | |
| 351 | Don't want to cache bad data. | |
| 372 | If we're retrieving a local file, just grab it. | |
| 399 | @codeCoverageIgnoreStart | |
| 403 | @codeCoverageIgnoreEnd | |
| 410 | @codeCoverageIgnoreStart | |
| 414 | @codeCoverageIgnoreEnd | |
| 423 | github.com/GoogleCloudPlatform/getting-started-php/issues/85 |
ApplicationDefaultCredentials.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 37 | developers.google.com/accounts/docs/application-default-credentials | |
| 55 | www.googleapis.com/auth/taskqueue' | |
| 62 | www.googleapis.com/taskqueue/v1beta2/projects/', | |
| 63 | authorize all requests | |
| 287 | developers.google.com'; |
InvalidArgumentException.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
Item.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 172 | We test for two types here due to the fact the DateTimeInterface | |
| 173 | was not introduced until PHP 5.5. Checking for the DateTime type as | |
| 174 | well allows us to support 5.4. |
MemoryCacheItemPool.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
SysVCacheItemPool.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
CacheTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 73 | ensure we do not have illegal characters | |
| 76 | Hash keys if they exceed $maxKeyLength (defaults to 64) |
AppIdentityCredentials.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 43 | www.googleapis.com/auth/books'); | |
| 50 | www.googleapis.com/books/v1', | |
| 131 | AppIdentityService expects an array when multiple scopes are supplied |
GCECredentials.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 52 | www.googleapis.com/taskqueue/v1beta2/projects/', | |
| 63 | phpcs:disable | |
| 65 | phpcs:enable | |
| 221 | ' . self::METADATA_IP . '/computeMetadata/'; | |
| 243 | ' . self::METADATA_IP . '/computeMetadata/'; | |
| 266 | ' . self::METADATA_IP . '/computeMetadata/'; | |
| 287 | ' . self::METADATA_IP . '/computeMetadata/'; | |
| 316 | ' . self::METADATA_IP; | |
| 319 | Comment from: oauth2client/client.py | |
| 321 | // Note: the explicit `timeout` below is a workaround. The underlying | |
| 322 | issue is that resolving an unknown host on some networks will take | |
| 323 | 20-30 seconds; making this timeout short fixes the issue, but | |
| 324 | could lead to false negatives in the event that we are on GCE, but | |
| 325 | the metadata resolution was particularly slow. The latter case is | |
| 326 | "unlikely". | |
| 375 | return an empty array with no access token | |
| 390 | store this so we can retrieve it later | |
| 458 | cloud.google.com/iam/credentials/reference/rest/v1/projects.serviceAccounts/signBlob SignBlob | |
| 472 | Providing a signer is useful for testing, but it's undocumented | |
| 473 | because it's not something a user would generally need to do. |
IAMCredentials.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
InsecureCredentials.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
ServiceAccountCredentials.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 32 | developers.google.com/accounts/docs/OAuth2ServiceAccount) | |
| 46 | www.googleapis.com/auth/taskqueue', | |
| 55 | www.googleapis.com/taskqueue/v1beta2/projects/', | |
| 56 | authorize all requests | |
| 195 | Keep self-signed JWTs in memory as the last received token | |
| 222 | If self-signed JWTs are being used, fetch the last received token | |
| 223 | from memory. Else, fetch it from OAuth2 | |
| 255 | scope exists. use oauth implementation | |
| 262 | Prefer user-provided "scope" to "audience" | |
| 269 | Keep self-signed JWTs in memory as the last received token | |
| 279 | Create credentials for self-signing a JWT (JwtAccess) | |
| 327 | When true, ServiceAccountCredentials will always use JwtAccess |
ServiceAccountJwtAccessCredentials.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 148 | Set the self-signed access token in OAuth2 for getLastReceivedToken |
UserRefreshCredentials.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 33 | goo.gl/mkAHpZ) |
CredentialsLoader.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 33 | oauth2.googleapis.com/token'; | |
| 150 | Do not pass $defaultScope to ServiceAccountCredentials | |
| 238 | Auth metadata has already been set |
FetchAuthTokenCache.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 145 | Pass the access token from cache to GCECredentials for signing a blob. | |
| 146 | This saves a call to the metadata server when a cached token exists. | |
| 213 | Set the access token in the `Authorization` metadata header so | |
| 214 | the downstream call to updateMetadata know they don't need to | |
| 215 | fetch another token. | |
| 238 | Use the cached value if its available. | |
| 240 | // TODO: correct caching; update the call to setCachedValue to set the expiry | |
| 241 | to the value returned with the auth token. | |
| 243 | // TODO: correct caching; enable the cache to be cleared. | |
| 245 | if $authUri is set, use it as the cache key | |
| 253 | If there is no expiration data, assume token is not expired. | |
| 254 | (for JwtAccess and ID tokens) | |
| 258 | access token is not expired | |
| 270 | if $authUri is set, use it as the cache key |
FetchAuthTokenInterface.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
GCECache.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
GetQuotaProjectInterface.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
Guzzle5HttpHandler.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 84 | The promise is already delivered when the exception is | |
| 85 | thrown, so don't rethrow it. | |
| 95 | Adapt the Guzzle 5 Response to a PSR-7 Response. |
Guzzle6HttpHandler.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
Guzzle7HttpHandler.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
HttpClientCache.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
HttpHandlerFactory.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
Iam.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 27 | cloud.google.com/iam/docs IAM Documentation | |
| 31 | iamcredentials.googleapis.com/v1'; |
AuthTokenMiddleware.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 85 | www.googleapis.com/taskqueue/v1beta2/projects/', | |
| 86 | authorize all requests | |
| 97 | Requests using "auth"="google_auth" will be authorized. | |
| 125 | notify the callback if applicable |
ScopedAccessTokenMiddleware.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 104 | www.googleapis.com/auth/taskqueue' | |
| 116 | www.googleapis.com/taskqueue/v1beta2/projects/', | |
| 117 | authorize all requests | |
| 128 | Requests using "auth"="scoped" will be authorized. |
SimpleMiddleware.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 67 | www.googleapis.com/discovery/v1/', | |
| 79 | Requests using "auth"="scoped" will be authorized. |
OAuth2.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 38 | 1 hour | |
| 39 | 1 minute | |
| 558 | If scope has not set, return null to indicate no caching. | |
| 581 | Assume it's JSON; if it's not throw an exception | |
| 636 | By default, the token is issued at `Time.now` when `expiresIn` is set, | |
| 637 | but this can be used to supply a more precise time. | |
| 644 | The refresh token should only be updated if a value is explicitly | |
| 645 | passed in, as some access token responses do not include a refresh | |
| 646 | token. | |
| 676 | Validate the auth_params | |
| 691 | Construct the uri object; return it if it is valid. | |
| 774 | redirect URI must be absolute | |
| 776 | "postmessage" is a reserved URI string in Google-land | |
| 777 | @see https://developers.google.com/identity/sign-in/web/server-side-flow | |
| 842 | Returns the inferred grant type, based on the current object instance | |
| 843 | state. | |
| 874 | validate URI | |
| 1319 | the bare necessity of an auth token | |
| TODO | 1366 | handle uri as array |
ProjectIdProviderInterface.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
ServiceAccountSignerTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 50 | @codeCoverageIgnoreStart | |
| 53 | @codeCoverageIgnoreEnd |
SignBlobInterface.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
AuthTokenSubscriber.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 93 | www.googleapis.com/taskqueue/v1beta2/projects/', | |
| 105 | Requests using "auth"="google_auth" will be authorized. | |
| 111 | Fetch the auth token. | |
| 116 | notify the callback if applicable |
ScopedAccessTokenSubscriber.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 114 | www.googleapis.com/auth/taskqueue' | |
| 123 | www.googleapis.com/taskqueue/v1beta2/projects/', | |
| 135 | Requests using "auth"="scoped" will be authorized. |
SimpleSubscriber.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 74 | www.googleapis.com/discovery/v1/', | |
| 86 | Requests using "auth"="simple" with the developer key. |
UpdateMetadataInterface.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
Asset.php
| Type | Line | Description |
|---|---|---|
| 20 | compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. | |
| 21 | cloud.google.com/apis/design/resource_names#full_resource_name) | |
| 54 | compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. | |
| 55 | cloud.google.com/apis/design/resource_names#full_resource_name) | |
| 72 | compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. | |
| 73 | cloud.google.com/apis/design/resource_names#full_resource_name) | |
| 85 | compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. | |
| 86 | cloud.google.com/apis/design/resource_names#full_resource_name) |
AssetServiceClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/cloud/asset/v1beta1/asset_service.proto | |
| 36 | This class is intentionally empty, and is intended to hold manual | |
| 37 | additions to the generated {@see AssetServiceGapicClient} class. |
AssetServiceGrpcClient.php
| Type | Line | Description |
|---|---|---|
| 2 | GENERATED CODE -- DO NOT EDIT! | |
| 4 | Original file comments: | |
| 5 | Copyright 2018 Google LLC. | |
| 7 | // Licensed under the Apache License, Version 2.0 (the "License"); | |
| 8 | you may not use this file except in compliance with the License. | |
| 9 | You may obtain a copy of the License at | |
| 11 | // http://www.apache.org/licenses/LICENSE-2.0 | |
| 13 | // Unless required by applicable law or agreed to in writing, software | |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, | |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 16 | See the License for the specific language governing permissions and | |
| 17 | limitations under the License. | |
| 19 | // |
BatchGetAssetsHistoryRequest.php
| Type | Line | Description |
|---|---|---|
| 28 | compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. | |
| 29 | cloud.google.com/apis/design/resource_names#full_resource_name) | |
| 64 | compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. | |
| 65 | cloud.google.com/apis/design/resource_names#full_resource_name) | |
| 114 | compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. | |
| 115 | cloud.google.com/apis/design/resource_names#full_resource_name) | |
| 130 | compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. | |
| 131 | cloud.google.com/apis/design/resource_names#full_resource_name) |
AssetServiceGapicClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/cloud/asset/v1beta1/asset_service.proto | |
| 63 | doSomethingWith($result) | |
| 66 | handleError($error) | |
| 70 | Alternatively: | |
| 72 | start the operation, keep the operation name, and resume later | |
| 75 | ... do other work | |
| 78 | ... do other work | |
| 83 | doSomethingWith($result) | |
| 86 | handleError($error) | |
| 128 | www.googleapis.com/auth/cloud-platform', | |
| 225 | Swallow the exception to continue trying other path templates | |
| 341 | doSomethingWith($result) | |
| 344 | handleError($error) | |
| 348 | Alternatively: | |
| 350 | start the operation, keep the operation name, and resume later | |
| 353 | ... do other work | |
| 356 | ... do other work | |
| 361 | doSomethingWith($result) | |
| 364 | handleError($error) | |
| 460 | compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. | |
| 461 | cloud.google.com/apis/design/resource_names#full_resource_name) |
GcsDestination.php
| Type | Line | Description |
|---|---|---|
| 20 | bucket_name/object_path". See [Viewing and Editing Object Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata) | |
| 35 | bucket_name/object_path". See [Viewing and Editing Object Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata) | |
| 46 | bucket_name/object_path". See [Viewing and Editing Object Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata) | |
| 59 | bucket_name/object_path". See [Viewing and Editing Object Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata) |
Resource.php
| Type | Line | Description |
|---|---|---|
| 27 | www.googleapis.com/discovery/v1/apis/compute/v1/rest"`. | |
| 46 | cloudresourcemanager.googleapis.com/v1/projects/my-project-123`. | |
| 54 | cloud.google.com/apis/design/resource_names#full_resource_name) | |
| 57 | cloud.google.com/iam/docs/overview#policy_hierarchy). | |
| 58 | cloudresourcemanager.googleapis.com/projects/my_project_123"`. | |
| 83 | www.googleapis.com/discovery/v1/apis/compute/v1/rest"`. | |
| 94 | cloudresourcemanager.googleapis.com/v1/projects/my-project-123`. | |
| 98 | cloud.google.com/apis/design/resource_names#full_resource_name) | |
| 101 | cloud.google.com/iam/docs/overview#policy_hierarchy). | |
| 102 | cloudresourcemanager.googleapis.com/projects/my_project_123"`. | |
| 143 | www.googleapis.com/discovery/v1/apis/compute/v1/rest"`. | |
| 158 | www.googleapis.com/discovery/v1/apis/compute/v1/rest"`. | |
| 208 | cloudresourcemanager.googleapis.com/v1/projects/my-project-123`. | |
| 223 | cloudresourcemanager.googleapis.com/v1/projects/my-project-123`. | |
| 240 | cloud.google.com/apis/design/resource_names#full_resource_name) | |
| 243 | cloud.google.com/iam/docs/overview#policy_hierarchy). | |
| 244 | cloudresourcemanager.googleapis.com/projects/my_project_123"`. | |
| 257 | cloud.google.com/apis/design/resource_names#full_resource_name) | |
| 260 | cloud.google.com/iam/docs/overview#policy_hierarchy). | |
| 261 | cloudresourcemanager.googleapis.com/projects/my_project_123"`. |
BigQueryClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 37 | cloud.google.com/bigquery/docs). | |
| 56 | www.googleapis.com/auth/bigquery'; | |
| 57 | www.googleapis.com/auth/bigquery.insertdata'; | |
| 147 | goo.gl/vSTbGp) | |
| 159 | Set create disposition using fluent setters. | |
| 166 | This is equivalent to the above example, using array configuration | |
| 167 | instead of fluent setters. | |
| 181 | Set a region to run the job in. | |
| 189 | goo.gl/vSTbGp) | |
| 211 | goo.gl/vSTbGp) | |
| 220 | goo.gl/vSTbGp) | |
| 236 | cloud.google.com/bigquery/docs/reference/standard-sql/) | |
| 272 | Construct a query utilizing named parameters. | |
| 288 | Construct a query utilizing positional parameters. | |
| 299 | cloud.google.com/bigquery/docs/reference/v2/jobs/query Query API documentation. | |
| 344 | cloud.google.com/bigquery/docs/reference/standard-sql/) | |
| 361 | cloud.google.com/bigquery/docs/reference/v2/jobs/insert Jobs insert API documentation. | |
| 421 | Get all jobs with the state of 'done' | |
| 431 | cloud.google.com/bigquery/docs/reference/v2/jobs/list Jobs list API documentation. | |
| 514 | cloud.google.com/bigquery/docs/reference/v2/datasets/list Datasets list API documentation. | |
| 566 | cloud.google.com/bigquery/docs/reference/v2/datasets/insert Datasets insert API documentation. | |
| 574 | cloud.google.com/bigquery/docs/reference/v2/datasets#resource) | |
| 694 | cloud.google.com/bigquery/docs/reference/standard-sql/data-types#numeric-type). |
Bytes.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 25 | cloud.google.com/bigquery/docs/reference/standard-sql/data-types#bytes-type). |
ConnectionInterface.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 24 | cloud.google.com/bigquery/). |
Rest.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 34 | cloud.google.com/bigquery/docs/reference/v2/). | |
| 41 | www.googleapis.com/bigquery/v2/'; | |
| 42 | www.googleapis.com/upload/bigquery/v2/projects/{projectId}/jobs'; | |
| TODO | 228 | look into abstracting the upload logic here and in the storage REST implementation |
CopyJobConfiguration.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 23 | cloud.google.com/bigquery/docs/reference/rest/v2/jobs#configuration). |
Dataset.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 28 | cloud.google.com/bigquery/what-is-bigquery#datasets) allow | |
| 120 | cloud.google.com/bigquery/docs/reference/v2/datasets/delete Datasets delete API documentation. | |
| 157 | cloud.google.com/bigquery/docs/reference/v2/datasets/patch Datasets patch API documentation. | |
| 158 | cloud.google.com/bigquery/docs/api-performance#patch Patch (Partial Update) | |
| 161 | cloud.google.com/bigquery/docs/reference/v2/datasets#resource) | |
| 219 | cloud.google.com/bigquery/docs/reference/v2/tables/list Tables list API documentation. | |
| 269 | cloud.google.com/bigquery/docs/reference/v2/tables/insert Tables insert API documentation. | |
| 276 | cloud.google.com/bigquery/docs/reference/v2/tables#resource) | |
| 317 | cloud.google.com/bigquery/docs/reference/v2/datasets#resource Datasets resource documentation. | |
| 341 | cloud.google.com/bigquery/docs/reference/v2/datasets/get Datasets get API documentation. |
Date.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 22 | cloud.google.com/bigquery/docs/reference/standard-sql/data-types#date-type). |
JobException.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
ExtractJobConfiguration.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 23 | cloud.google.com/bigquery/docs/reference/rest/v2/jobs#configuration). | |
| 32 | my_bucket/target.csv'); | |
| 97 | my_bucket/destination.csv' |
InsertResponse.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 83 | cloud.google.com/bigquery/docs/reference/v2/tabledata/insertAll#response | |
| 114 | cloud.google.com/bigquery/docs/reference/v2/tabledata/insertAll#response |
Job.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 26 | cloud.google.com/bigquery/docs/reference/v2/jobs) are objects | |
| 122 | let's wait for a moment... | |
| 130 | cloud.google.com/bigquery/docs/reference/v2/jobs/cancel Jobs cancel API documentation. | |
| 159 | cloud.google.com/bigquery/docs/reference/v2/jobs/getQueryResults | |
| 248 | let's wait for a moment... | |
| 274 | cloud.google.com/bigquery/docs/reference/v2/jobs#resource Jobs resource documentation. | |
| 293 | false | |
| 294 | let's wait for a moment... | |
| 295 | execute a network request | |
| 296 | true | |
| 299 | cloud.google.com/bigquery/docs/reference/v2/jobs/get Jobs get API documentation. |
JobConfigurationInterface.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
JobConfigurationTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
JobWaitTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
LoadJobConfiguration.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 25 | cloud.google.com/bigquery/docs/reference/rest/v2/jobs#configuration). | |
| 474 | my_bucket/source.csv' |
Numeric.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 22 | cloud.google.com/bigquery/docs/reference/standard-sql/data-types#numeric-type). | |
| 51 | allow minus sign at the beginning | |
| 52 | 38 or less decimal digits (or none) | |
| 53 | optional period and 9 or less digits of scale |
QueryJobConfiguration.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 23 | cloud.google.com/bigquery/docs/reference/rest/v2/jobs#configuration). | |
| 197 | cloud.google.com/bigquery/pricing#high-compute High-Compute queries | |
| 341 | my_bucket/table.json' | |
| 403 | cloud.google.com/bigquery/querying-data#query-caching Query Caching | |
| 421 | my_bucket/code_path'] |
QueryResults.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 28 | cloud.google.com/bigquery/docs/reference/v2/jobs/query#response). | |
| 244 | cloud.google.com/bigquery/docs/reference/v2/jobs/getQueryResults#response | |
| 262 | cloud.google.com/bigquery/docs/reference/v2/jobs/getQueryResults | |
| 309 | let's wait for a moment... |
Table.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 33 | cloud.google.com/bigquery/docs/tables) are a standard | |
| 141 | cloud.google.com/bigquery/docs/reference/v2/tables/delete Tables delete API documentation. | |
| 172 | cloud.google.com/bigquery/docs/reference/v2/tables/patch Tables patch API documentation. | |
| 173 | cloud.google.com/bigquery/docs/api-performance#patch Patch (Partial Update) | |
| 176 | cloud.google.com/bigquery/docs/reference/v2/tables#resource) | |
| 207 | cloud.google.com/bigquery/docs/reference/v2/tabledata/list Tabledata list API Documentation. | |
| 265 | true | |
| 268 | cloud.google.com/bigquery/docs/reference/v2/jobs Jobs insert API Documentation. | |
| 297 | cloud.google.com/bigquery/docs/reference/v2/jobs Jobs insert API Documentation. | |
| 340 | cloud.google.com/bigquery/docs/reference/v2/jobs Jobs insert API Documentation. | |
| 345 | cloud.google.com/bigquery/docs/reference/rest/v2/jobs#configuration) | |
| 375 | cloud.google.com/bigquery/docs/reference/v2/jobs Jobs insert API Documentation. | |
| 380 | {bucket-name}/{object-name}`. | |
| 383 | cloud.google.com/bigquery/docs/reference/rest/v2/jobs#configuration) | |
| 416 | cloud.google.com/bigquery/docs/reference/v2/jobs Jobs insert API Documentation. | |
| 421 | cloud.google.com/bigquery/docs/reference/rest/v2/jobs#configuration) | |
| 456 | cloud.google.com/bigquery/docs/reference/v2/jobs Jobs insert API Documentation. | |
| 461 | {bucket-name}/{object-name}`. | |
| 464 | cloud.google.com/bigquery/docs/reference/rest/v2/jobs#configuration) | |
| 508 | cloud.google.com/bigquery/docs/reference/v2/tabledata/insertAll Tabledata insertAll API Documentation. | |
| 509 | cloud.google.com/bigquery/streaming-data-into-bigquery Streaming data into BigQuery. | |
| 518 | cloud.google.com/bigquery/streaming-data-into-bigquery#dataconsistency). | |
| 575 | cloud.google.com/bigquery/docs/reference/v2/tabledata/insertAll Tabledata insertAll API Documentation. | |
| 576 | cloud.google.com/bigquery/streaming-data-into-bigquery Streaming data into BigQuery. | |
| 582 | cloud.google.com/bigquery/streaming-data-into-bigquery#dataconsistency). | |
| 593 | cloud.google.com/bigquery/docs/reference/v2/tables#resource). | |
| 612 | cloud.google.com/bigquery/streaming-data-into-bigquery#template-tables) | |
| 661 | cloud.google.com/bigquery/docs/reference/v2/tables#resource Tables resource documentation. | |
| 685 | cloud.google.com/bigquery/docs/reference/v2/tables/get Tables get API documentation. |
Time.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 22 | cloud.google.com/bigquery/docs/reference/standard-sql/data-types#time-type). |
Timestamp.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 22 | cloud.google.com/bigquery/docs/reference/standard-sql/data-types#timestamp-type). |
ValueInterface.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
ValueMapper.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 338 | If the string contains 'E' convert from exponential notation to | |
| 339 | decimal notation. This doesn't cast to a float because precision can | |
| 340 | be lost. | |
| 360 | If the timestamp is before the epoch, make sure we account for that | |
| 361 | before concatenating the microseconds. |
CreateTransferConfigRequest.php
| Type | Line | Description |
|---|---|---|
| 44 | www.gstatic.com/bigquerydatatransfer/oauthz/auth?client_id=<datatransferapiclientid>&scope=<data_source_scopes>&redirect_uri=<redirect_uri> | |
| 78 | www.gstatic.com/bigquerydatatransfer/oauthz/auth?client_id=<datatransferapiclientid>&scope=<data_source_scopes>&redirect_uri=<redirect_uri> | |
| 159 | www.gstatic.com/bigquerydatatransfer/oauthz/auth?client_id=<datatransferapiclientid>&scope=<data_source_scopes>&redirect_uri=<redirect_uri> | |
| 184 | www.gstatic.com/bigquerydatatransfer/oauthz/auth?client_id=<datatransferapiclientid>&scope=<data_source_scopes>&redirect_uri=<redirect_uri> |
AuthorizationType.php
| Type | Line | Description |
|---|---|---|
| 36 | Adding a class alias for backwards compatibility with the previous class name. |
DataRefreshType.php
| Type | Line | Description |
|---|---|---|
| 38 | Adding a class alias for backwards compatibility with the previous class name. |
DataSource.php
| Type | Line | Description |
|---|---|---|
| 54 | www.googleapis.com/auth/bigquery | |
| 166 | www.googleapis.com/auth/bigquery | |
| 347 | www.googleapis.com/auth/bigquery | |
| 361 | www.googleapis.com/auth/bigquery |
Type.php
| Type | Line | Description |
|---|---|---|
| 59 | Adding a class alias for backwards compatibility with the previous class name. |
DataTransferServiceClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/cloud/bigquery/datatransfer/v1/datatransfer.proto | |
| 36 | This class is intentionally empty, and is intended to hold manual | |
| 37 | additions to the generated {@see DataTransferServiceGapicClient} class. |
DataTransferServiceGrpcClient.php
| Type | Line | Description |
|---|---|---|
| 2 | GENERATED CODE -- DO NOT EDIT! | |
| 4 | Original file comments: | |
| 5 | Copyright 2018 Google Inc. | |
| 7 | // Licensed under the Apache License, Version 2.0 (the "License"); | |
| 8 | you may not use this file except in compliance with the License. | |
| 9 | You may obtain a copy of the License at | |
| 11 | // http://www.apache.org/licenses/LICENSE-2.0 | |
| 13 | // Unless required by applicable law or agreed to in writing, software | |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, | |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 16 | See the License for the specific language governing permissions and | |
| 17 | limitations under the License. | |
| 19 | namespace Google\Cloud\BigQuery\DataTransfer\V1; |
DataTransferServiceGapicClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/cloud/bigquery/datatransfer/v1/datatransfer.proto | |
| 118 | www.googleapis.com/auth/cloud-platform', | |
| 305 | Swallow the exception to continue trying other path templates | |
| 430 | Iterate over pages of elements | |
| 434 | doSomethingWith($element); | |
| 439 | Alternatively: | |
| 441 | Iterate through all elements | |
| 444 | doSomethingWith($element); | |
| 532 | www.gstatic.com/bigquerydatatransfer/oauthz/auth?client_id=<datatransferapiclientid>&scope=<data_source_scopes>&redirect_uri=<redirect_uri> | |
| 606 | www.gstatic.com/bigquerydatatransfer/oauthz/auth?client_id=<datatransferapiclientid>&scope=<data_source_scopes>&redirect_uri=<redirect_uri> | |
| 762 | Iterate over pages of elements | |
| 766 | doSomethingWith($element); | |
| 771 | Alternatively: | |
| 773 | Iterate through all elements | |
| 776 | doSomethingWith($element); | |
| 1010 | Iterate over pages of elements | |
| 1014 | doSomethingWith($element); | |
| 1019 | Alternatively: | |
| 1021 | Iterate through all elements | |
| 1024 | doSomethingWith($element); | |
| 1104 | Iterate over pages of elements | |
| 1108 | doSomethingWith($element); | |
| 1113 | Alternatively: | |
| 1115 | Iterate through all elements | |
| 1118 | doSomethingWith($element); |
RunAttempt.php
| Type | Line | Description |
|---|---|---|
| 28 | Adding a class alias for backwards compatibility with the previous class name. |
TransferConfig.php
| Type | Line | Description |
|---|---|---|
| 69 | cloud.google.com/appengine/docs/flexible/python/scheduling-jobs-with-cron-yaml#the_schedule_format | |
| 160 | cloud.google.com/appengine/docs/flexible/python/scheduling-jobs-with-cron-yaml#the_schedule_format | |
| 344 | cloud.google.com/appengine/docs/flexible/python/scheduling-jobs-with-cron-yaml#the_schedule_format | |
| 366 | cloud.google.com/appengine/docs/flexible/python/scheduling-jobs-with-cron-yaml#the_schedule_format |
MessageSeverity.php
| Type | Line | Description |
|---|---|---|
| 40 | Adding a class alias for backwards compatibility with the previous class name. |
UpdateTransferConfigRequest.php
| Type | Line | Description |
|---|---|---|
| 31 | www.gstatic.com/bigquerydatatransfer/oauthz/auth?client_id=<datatransferapiclientid>&scope=<data_source_scopes>&redirect_uri=<redirect_uri> | |
| 66 | www.gstatic.com/bigquerydatatransfer/oauthz/auth?client_id=<datatransferapiclientid>&scope=<data_source_scopes>&redirect_uri=<redirect_uri> | |
| 117 | www.gstatic.com/bigquerydatatransfer/oauthz/auth?client_id=<datatransferapiclientid>&scope=<data_source_scopes>&redirect_uri=<redirect_uri> | |
| 142 | www.gstatic.com/bigquerydatatransfer/oauthz/auth?client_id=<datatransferapiclientid>&scope=<data_source_scopes>&redirect_uri=<redirect_uri> |
MultiClusterRoutingUseAny.php
| Type | Line | Description |
|---|---|---|
| 37 | Adding a class alias for backwards compatibility with the previous class name. |
SingleClusterRouting.php
| Type | Line | Description |
|---|---|---|
| 112 | Adding a class alias for backwards compatibility with the previous class name. |
AppProfile.php
| Type | Line | Description |
|---|---|---|
| 33 | en.wikipedia.org/wiki/HTTP_ETag) and | |
| 34 | tools.ietf.org/html/rfc7232#section-2.3) for more | |
| 64 | en.wikipedia.org/wiki/HTTP_ETag) and | |
| 65 | tools.ietf.org/html/rfc7232#section-2.3) for more | |
| 116 | en.wikipedia.org/wiki/HTTP_ETag) and | |
| 117 | tools.ietf.org/html/rfc7232#section-2.3) for more | |
| 134 | en.wikipedia.org/wiki/HTTP_ETag) and | |
| 135 | tools.ietf.org/html/rfc7232#section-2.3) for more |
BigtableInstanceAdminClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/bigtable/admin/v2/bigtable_instance_admin.proto | |
| 40 | This class is intentionally empty, and is intended to hold manual | |
| 41 | additions to the generated {@see BigtableInstanceAdminGapicClient} class. |
BigtableInstanceAdminGrpcClient.php
| Type | Line | Description |
|---|---|---|
| 2 | GENERATED CODE -- DO NOT EDIT! | |
| 4 | Original file comments: | |
| 5 | Copyright 2018 Google LLC. | |
| 7 | // Licensed under the Apache License, Version 2.0 (the "License"); | |
| 8 | you may not use this file except in compliance with the License. | |
| 9 | You may obtain a copy of the License at | |
| 11 | // http://www.apache.org/licenses/LICENSE-2.0 | |
| 13 | // Unless required by applicable law or agreed to in writing, software | |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, | |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 16 | See the License for the specific language governing permissions and | |
| 17 | limitations under the License. | |
| 19 | // |
BigtableTableAdminClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/bigtable/admin/v2/bigtable_table_admin.proto | |
| 40 | This class is intentionally empty, and is intended to hold manual | |
| 41 | additions to the generated {@see BigtableTableAdminGapicClient} class. |
BigtableTableAdminGrpcClient.php
| Type | Line | Description |
|---|---|---|
| 2 | GENERATED CODE -- DO NOT EDIT! | |
| 4 | Original file comments: | |
| 5 | Copyright 2018 Google LLC. | |
| 7 | // Licensed under the Apache License, Version 2.0 (the "License"); | |
| 8 | you may not use this file except in compliance with the License. | |
| 9 | You may obtain a copy of the License at | |
| 11 | // http://www.apache.org/licenses/LICENSE-2.0 | |
| 13 | // Unless required by applicable law or agreed to in writing, software | |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, | |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 16 | See the License for the specific language governing permissions and | |
| 17 | limitations under the License. | |
| 19 | // |
State.php
| Type | Line | Description |
|---|---|---|
| 53 | Adding a class alias for backwards compatibility with the previous class name. |
Split.php
| Type | Line | Description |
|---|---|---|
| 68 | Adding a class alias for backwards compatibility with the previous class name. |
BigtableInstanceAdminGapicClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/bigtable/admin/v2/bigtable_instance_admin.proto | |
| 89 | doSomethingWith($result) | |
| 92 | handleError($error) | |
| 96 | Alternatively: | |
| 98 | start the operation, keep the operation name, and resume later | |
| 101 | ... do other work | |
| 104 | ... do other work | |
| 109 | doSomethingWith($result) | |
| 112 | handleError($error) | |
| 154 | www.googleapis.com/auth/bigtable.admin', | |
| 155 | www.googleapis.com/auth/bigtable.admin.cluster', | |
| 156 | www.googleapis.com/auth/bigtable.admin.instance', | |
| 157 | www.googleapis.com/auth/bigtable.admin.table', | |
| 158 | www.googleapis.com/auth/cloud-bigtable.admin', | |
| 159 | www.googleapis.com/auth/cloud-bigtable.admin.cluster', | |
| 160 | www.googleapis.com/auth/cloud-bigtable.admin.table', | |
| 161 | www.googleapis.com/auth/cloud-platform', | |
| 162 | www.googleapis.com/auth/cloud-platform.read-only', | |
| 383 | Swallow the exception to continue trying other path templates | |
| 498 | doSomethingWith($result) | |
| 501 | handleError($error) | |
| 505 | Alternatively: | |
| 507 | start the operation, keep the operation name, and resume later | |
| 510 | ... do other work | |
| 513 | ... do other work | |
| 518 | doSomethingWith($result) | |
| 521 | handleError($error) | |
| 779 | doSomethingWith($result) | |
| 782 | handleError($error) | |
| 786 | Alternatively: | |
| 788 | start the operation, keep the operation name, and resume later | |
| 791 | ... do other work | |
| 794 | ... do other work | |
| 799 | doSomethingWith($result) | |
| 802 | handleError($error) | |
| 911 | doSomethingWith($result) | |
| 914 | handleError($error) | |
| 918 | Alternatively: | |
| 920 | start the operation, keep the operation name, and resume later | |
| 923 | ... do other work | |
| 926 | ... do other work | |
| 931 | doSomethingWith($result) | |
| 934 | handleError($error) | |
| 1108 | doSomethingWith($result) | |
| 1111 | handleError($error) | |
| 1115 | Alternatively: | |
| 1117 | start the operation, keep the operation name, and resume later | |
| 1120 | ... do other work | |
| 1123 | ... do other work | |
| 1128 | doSomethingWith($result) | |
| 1131 | handleError($error) | |
| 1377 | Iterate over pages of elements | |
| 1381 | doSomethingWith($element); | |
| 1386 | Alternatively: | |
| 1388 | Iterate through all elements | |
| 1391 | doSomethingWith($element); | |
| 1465 | doSomethingWith($result) | |
| 1468 | handleError($error) | |
| 1472 | Alternatively: | |
| 1474 | start the operation, keep the operation name, and resume later | |
| 1477 | ... do other work | |
| 1480 | ... do other work | |
| 1485 | doSomethingWith($result) | |
| 1488 | handleError($error) | |
| 1724 | cloud.google.com/iam/docs/overview#permissions). |
BigtableTableAdminGapicClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/bigtable/admin/v2/bigtable_table_admin.proto | |
| 122 | www.googleapis.com/auth/bigtable.admin', | |
| 123 | www.googleapis.com/auth/bigtable.admin.cluster', | |
| 124 | www.googleapis.com/auth/bigtable.admin.instance', | |
| 125 | www.googleapis.com/auth/bigtable.admin.table', | |
| 126 | www.googleapis.com/auth/cloud-bigtable.admin', | |
| 127 | www.googleapis.com/auth/cloud-bigtable.admin.cluster', | |
| 128 | www.googleapis.com/auth/cloud-bigtable.admin.table', | |
| 129 | www.googleapis.com/auth/cloud-platform', | |
| 130 | www.googleapis.com/auth/cloud-platform.read-only', | |
| 327 | Swallow the exception to continue trying other path templates | |
| 528 | doSomethingWith($result) | |
| 531 | handleError($error) | |
| 535 | Alternatively: | |
| 537 | start the operation, keep the operation name, and resume later | |
| 540 | ... do other work | |
| 543 | ... do other work | |
| 548 | doSomethingWith($result) | |
| 551 | handleError($error) | |
| 611 | Iterate over pages of elements | |
| 615 | doSomethingWith($element); | |
| 620 | Alternatively: | |
| 622 | Iterate through all elements | |
| 625 | doSomethingWith($element); | |
| 1057 | doSomethingWith($result) | |
| 1060 | handleError($error) | |
| 1064 | Alternatively: | |
| 1066 | start the operation, keep the operation name, and resume later | |
| 1069 | ... do other work | |
| 1072 | ... do other work | |
| 1077 | doSomethingWith($result) | |
| 1080 | handleError($error) | |
| 1216 | Iterate over pages of elements | |
| 1220 | doSomethingWith($element); | |
| 1225 | Alternatively: | |
| 1227 | Iterate through all elements | |
| 1230 | doSomethingWith($element); |
Intersection.php
| Type | Line | Description |
|---|---|---|
| 68 | Adding a class alias for backwards compatibility with the previous class name. |
Union.php
| Type | Line | Description |
|---|---|---|
| 68 | Adding a class alias for backwards compatibility with the previous class name. |
State.php
| Type | Line | Description |
|---|---|---|
| 36 | Adding a class alias for backwards compatibility with the previous class name. |
Type.php
| Type | Line | Description |
|---|---|---|
| 43 | Adding a class alias for backwards compatibility with the previous class name. |
Modification.php
| Type | Line | Description |
|---|---|---|
| 170 | Adding a class alias for backwards compatibility with the previous class name. |
State.php
| Type | Line | Description |
|---|---|---|
| 36 | Adding a class alias for backwards compatibility with the previous class name. |
ReplicationState.php
| Type | Line | Description |
|---|---|---|
| 52 | Adding a class alias for backwards compatibility with the previous class name. |
ClusterState.php
| Type | Line | Description |
|---|---|---|
| 72 | Adding a class alias for backwards compatibility with the previous class name. |
TimestampGranularity.php
| Type | Line | Description |
|---|---|---|
| 30 | Adding a class alias for backwards compatibility with the previous class name. |
View.php
| Type | Line | Description |
|---|---|---|
| 47 | Adding a class alias for backwards compatibility with the previous class name. |
BigtableClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 30 | cloud.google.com/bigtable/docs/). | |
| 113 | Workaround for large messages. | |
| TODO | 160 | Add better support for detecting the project ID (check keyFile/GCE metadata server). |
ChunkFormatter.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 113 | Chunks contain 3 properties: | |
| 114 | - rowContents: The row contents, this essentially is all data | |
| 115 | pertaining to a single family. | |
| 116 | - commitRow: This is a boolean telling us the all previous chunks for | |
| 117 | this row are ok to consume. | |
| 118 | - resetRow: This is a boolean telling us that all the previous chunks | |
| 119 | are to be discarded. |
DataUtil.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
BigtableDataOperationException.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
FamilyFilter.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 44 | github.com/google/re2/wiki/Syntax). |
KeyFilter.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 44 | github.com/google/re2/wiki/Syntax). In other words, |
LimitFilter.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
OffsetFilter.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
QualifierFilter.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 45 | github.com/google/re2/wiki/Syntax). Note that, since |
Range.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
RegexTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 60 | u', $value)) { |
TimestampFilter.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
ValueFilter.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 45 | github.com/google/re2/wiki/Syntax). Note that, since |
ChainFilter.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
ConditionFilter.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
FilterInterface.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
InterleaveFilter.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
QualifierRangeFilter.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
SimpleFilter.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
TimestampRangeFilter.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
ValueRangeFilter.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
Filter.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 56 | github.com/google/re2/wiki/Syntax) in raw byte mode | |
| 144 | could have switched with #2 | |
| 145 | could have switched with #1 | |
| 148 | identical to #6 | |
| 149 | identical to #5 | |
| 374 | github.com/googleapis/googleapis/blob/master/google/bigtable/v2/data.proto) |
Mutations.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 58 | gives milli second | |
| 60 | multiply by 1000 to get micro |
ReadModifyWriteRowRules.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
Table.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 219 | Specify a set of row ranges. | |
| 342 | Increments value | |
| 421 | With predicate filter |
BigtableClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/bigtable/v2/bigtable.proto | |
| 40 | This class is intentionally empty, and is intended to hold manual | |
| 41 | additions to the generated {@see BigtableGapicClient} class. |
BigtableGrpcClient.php
| Type | Line | Description |
|---|---|---|
| 2 | GENERATED CODE -- DO NOT EDIT! | |
| 4 | Original file comments: | |
| 5 | Copyright 2018 Google Inc. | |
| 7 | // Licensed under the Apache License, Version 2.0 (the "License"); | |
| 8 | you may not use this file except in compliance with the License. | |
| 9 | You may obtain a copy of the License at | |
| 11 | // http://www.apache.org/licenses/LICENSE-2.0 | |
| 13 | // Unless required by applicable law or agreed to in writing, software | |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, | |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 16 | See the License for the specific language governing permissions and | |
| 17 | limitations under the License. | |
| 19 | namespace Google\Cloud\Bigtable\V2; |
BigtableGapicClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/bigtable/v2/bigtable.proto | |
| 67 | Read all responses until the stream is complete | |
| 70 | doSomethingWith($element); | |
| 112 | www.googleapis.com/auth/bigtable.data', | |
| 113 | www.googleapis.com/auth/bigtable.data.readonly', | |
| 114 | www.googleapis.com/auth/cloud-bigtable.data', | |
| 115 | www.googleapis.com/auth/cloud-bigtable.data.readonly', | |
| 116 | www.googleapis.com/auth/cloud-platform', | |
| 117 | www.googleapis.com/auth/cloud-platform.read-only', | |
| 216 | Swallow the exception to continue trying other path templates | |
| 292 | Read all responses until the stream is complete | |
| 295 | doSomethingWith($element); | |
| 372 | Read all responses until the stream is complete | |
| 375 | doSomethingWith($element); | |
| 502 | Read all responses until the stream is complete | |
| 505 | doSomethingWith($element); |
Entry.php
| Type | Line | Description |
|---|---|---|
| 112 | Adding a class alias for backwards compatibility with the previous class name. |
Entry.php
| Type | Line | Description |
|---|---|---|
| 116 | Adding a class alias for backwards compatibility with the previous class name. |
DeleteFromColumn.php
| Type | Line | Description |
|---|---|---|
| 145 | Adding a class alias for backwards compatibility with the previous class name. |
DeleteFromFamily.php
| Type | Line | Description |
|---|---|---|
| 72 | Adding a class alias for backwards compatibility with the previous class name. |
DeleteFromRow.php
| Type | Line | Description |
|---|---|---|
| 34 | Adding a class alias for backwards compatibility with the previous class name. |
SetCell.php
| Type | Line | Description |
|---|---|---|
| 194 | Adding a class alias for backwards compatibility with the previous class name. |
CellChunk.php
| Type | Line | Description |
|---|---|---|
| 456 | Adding a class alias for backwards compatibility with the previous class name. |
Chain.php
| Type | Line | Description |
|---|---|---|
| 76 | Adding a class alias for backwards compatibility with the previous class name. |
Condition.php
| Type | Line | Description |
|---|---|---|
| 157 | Adding a class alias for backwards compatibility with the previous class name. |
Interleave.php
| Type | Line | Description |
|---|---|---|
| 36 | could have switched with #2 | |
| 37 | could have switched with #1 | |
| 40 | identical to #6 | |
| 41 | identical to #5 | |
| 71 | could have switched with #2 | |
| 72 | could have switched with #1 | |
| 75 | identical to #6 | |
| 76 | identical to #5 | |
| 102 | could have switched with #2 | |
| 103 | could have switched with #1 | |
| 106 | identical to #6 | |
| 107 | identical to #5 | |
| 135 | could have switched with #2 | |
| 136 | could have switched with #1 | |
| 139 | identical to #6 | |
| 140 | identical to #5 | |
| 157 | Adding a class alias for backwards compatibility with the previous class name. |
RowFilter.php
| Type | Line | Description |
|---|---|---|
| 25 | github.com/google/re2/wiki/Syntax) | |
| 105 | could be switched | |
| 106 | could be switched | |
| 323 | could be switched | |
| 324 | could be switched | |
| 387 | could be switched | |
| 388 | could be switched |
AutoUpgradeOptions.php
| Type | Line | Description |
|---|---|---|
| 22 | www.ietf.org/rfc/rfc3339.txt) text format. | |
| 44 | www.ietf.org/rfc/rfc3339.txt) text format. | |
| 58 | www.ietf.org/rfc/rfc3339.txt) text format. | |
| 71 | www.ietf.org/rfc/rfc3339.txt) text format. |
CancelOperationRequest.php
| Type | Line | Description |
|---|---|---|
| 20 | support.google.com/cloud/answer/6158840). | |
| 47 | support.google.com/cloud/answer/6158840). | |
| 62 | support.google.com/cloud/answer/6158840). | |
| 74 | support.google.com/cloud/answer/6158840). |
Status.php
| Type | Line | Description |
|---|---|---|
| 56 | Adding a class alias for backwards compatibility with the previous class name. |
Cluster.php
| Type | Line | Description |
|---|---|---|
| 98 | en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) | |
| 207 | username:password@endpoint/`. | |
| 239 | www.ietf.org/rfc/rfc3339.txt) text format. | |
| 268 | en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) | |
| 289 | www.ietf.org/rfc/rfc3339.txt) text format. | |
| 349 | en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) | |
| 398 | username:password@endpoint/`. | |
| 414 | www.ietf.org/rfc/rfc3339.txt) text format. | |
| 427 | en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) | |
| 436 | www.ietf.org/rfc/rfc3339.txt) text format. | |
| 714 | en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) | |
| 728 | en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) | |
| 1141 | username:password@endpoint/`. | |
| 1156 | username:password@endpoint/`. | |
| 1262 | www.ietf.org/rfc/rfc3339.txt) text format. | |
| 1274 | www.ietf.org/rfc/rfc3339.txt) text format. | |
| 1375 | en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) | |
| 1390 | en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) | |
| 1460 | www.ietf.org/rfc/rfc3339.txt) text format. | |
| 1472 | www.ietf.org/rfc/rfc3339.txt) text format. |
ClusterManagerClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/container/v1/cluster_service.proto | |
| 36 | This class is intentionally empty, and is intended to hold manual | |
| 37 | additions to the generated {@see ClusterManagerGapicClient} class. |
ClusterManagerGrpcClient.php
| Type | Line | Description |
|---|---|---|
| 2 | GENERATED CODE -- DO NOT EDIT! | |
| 4 | Original file comments: | |
| 5 | Copyright 2017 Google Inc. | |
| 7 | // Licensed under the Apache License, Version 2.0 (the "License"); | |
| 8 | you may not use this file except in compliance with the License. | |
| 9 | You may obtain a copy of the License at | |
| 11 | // http://www.apache.org/licenses/LICENSE-2.0 | |
| 13 | // Unless required by applicable law or agreed to in writing, software | |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, | |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 16 | See the License for the specific language governing permissions and | |
| 17 | limitations under the License. | |
| 19 | namespace Google\Cloud\Container\V1; |
CompleteIPRotationRequest.php
| Type | Line | Description |
|---|---|---|
| 20 | developers.google.com/console/help/new/#projectnumber). | |
| 48 | developers.google.com/console/help/new/#projectnumber). | |
| 64 | developers.google.com/console/help/new/#projectnumber). | |
| 76 | developers.google.com/console/help/new/#projectnumber). |
CreateClusterRequest.php
| Type | Line | Description |
|---|---|---|
| 20 | support.google.com/cloud/answer/6158840). | |
| 49 | support.google.com/cloud/answer/6158840). | |
| 66 | support.google.com/cloud/answer/6158840). | |
| 78 | support.google.com/cloud/answer/6158840). |
CreateNodePoolRequest.php
| Type | Line | Description |
|---|---|---|
| 20 | developers.google.com/console/help/new/#projectnumber). | |
| 54 | developers.google.com/console/help/new/#projectnumber). | |
| 72 | developers.google.com/console/help/new/#projectnumber). | |
| 84 | developers.google.com/console/help/new/#projectnumber). |
DailyMaintenanceWindow.php
| Type | Line | Description |
|---|---|---|
| 20 | www.ietf.org/rfc/rfc3339.txt) | |
| 29 | www.ietf.org/rfc/rfc3339.txt) | |
| 44 | www.ietf.org/rfc/rfc3339.txt) | |
| 49 | www.ietf.org/rfc/rfc3339.txt) | |
| 60 | www.ietf.org/rfc/rfc3339.txt) | |
| 73 | www.ietf.org/rfc/rfc3339.txt) | |
| 91 | www.ietf.org/rfc/rfc3339.txt) | |
| 105 | www.ietf.org/rfc/rfc3339.txt) |
DeleteClusterRequest.php
| Type | Line | Description |
|---|---|---|
| 20 | support.google.com/cloud/answer/6158840). | |
| 48 | support.google.com/cloud/answer/6158840). | |
| 64 | support.google.com/cloud/answer/6158840). | |
| 76 | support.google.com/cloud/answer/6158840). |
DeleteNodePoolRequest.php
| Type | Line | Description |
|---|---|---|
| 20 | developers.google.com/console/help/new/#projectnumber). | |
| 54 | developers.google.com/console/help/new/#projectnumber). | |
| 72 | developers.google.com/console/help/new/#projectnumber). | |
| 84 | developers.google.com/console/help/new/#projectnumber). |
ClusterManagerGapicClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/container/v1/cluster_service.proto | |
| 130 | www.googleapis.com/auth/cloud-platform', | |
| 227 | support.google.com/cloud/answer/6158840). | |
| 229 | cloud.google.com/compute/docs/zones#available) in which the cluster | |
| 277 | support.google.com/cloud/answer/6158840). | |
| 279 | cloud.google.com/compute/docs/zones#available) in which the cluster | |
| 317 | cloud.google.com/compute/docs/networks-and-firewalls#networks). | |
| 341 | support.google.com/cloud/answer/6158840). | |
| 343 | cloud.google.com/compute/docs/zones#available) in which the cluster | |
| 346 | cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters) | |
| 395 | support.google.com/cloud/answer/6158840). | |
| 397 | cloud.google.com/compute/docs/zones#available) in which the cluster | |
| 452 | support.google.com/cloud/answer/6158840). | |
| 454 | cloud.google.com/compute/docs/zones#available) in which the cluster | |
| 514 | support.google.com/cloud/answer/6158840). | |
| 516 | cloud.google.com/compute/docs/zones#available) in which the cluster | |
| 571 | support.google.com/cloud/answer/6158840). | |
| 573 | cloud.google.com/compute/docs/zones#available) in which the cluster | |
| 630 | support.google.com/cloud/answer/6158840). | |
| 632 | cloud.google.com/compute/docs/zones#available) in which the cluster | |
| 689 | support.google.com/cloud/answer/6158840). | |
| 691 | cloud.google.com/compute/docs/zones#available) in which the cluster | |
| 745 | support.google.com/cloud/answer/6158840). | |
| 747 | cloud.google.com/compute/docs/zones#available) in which the cluster | |
| 751 | cloud.google.com/compute/docs/zones#available) in which the cluster's nodes | |
| 806 | support.google.com/cloud/answer/6158840). | |
| 808 | cloud.google.com/compute/docs/zones#available) in which the cluster | |
| 866 | support.google.com/cloud/answer/6158840). | |
| 868 | cloud.google.com/compute/docs/zones#available) in which the cluster | |
| 931 | support.google.com/cloud/answer/6158840). | |
| 933 | cloud.google.com/compute/docs/zones#available) in which the cluster | |
| 982 | support.google.com/cloud/answer/6158840). | |
| 983 | cloud.google.com/compute/docs/zones#available) | |
| 1031 | support.google.com/cloud/answer/6158840). | |
| 1033 | cloud.google.com/compute/docs/zones#available) in which the cluster | |
| 1083 | support.google.com/cloud/answer/6158840). | |
| 1085 | cloud.google.com/compute/docs/zones#available) in which the operation resides. | |
| 1131 | support.google.com/cloud/answer/6158840). | |
| 1132 | cloud.google.com/compute/docs/zones#available) | |
| 1180 | developers.google.com/console/help/new/#projectnumber). | |
| 1182 | cloud.google.com/compute/docs/zones#available) in which the cluster | |
| 1233 | developers.google.com/console/help/new/#projectnumber). | |
| 1235 | cloud.google.com/compute/docs/zones#available) in which the cluster | |
| 1288 | developers.google.com/console/help/new/#projectnumber). | |
| 1290 | cloud.google.com/compute/docs/zones#available) in which the cluster | |
| 1343 | developers.google.com/console/help/new/#projectnumber). | |
| 1345 | cloud.google.com/compute/docs/zones#available) in which the cluster | |
| 1399 | support.google.com/cloud/answer/6158840). | |
| 1401 | cloud.google.com/compute/docs/zones#available) in which the cluster | |
| 1455 | support.google.com/cloud/answer/6158840). | |
| 1457 | cloud.google.com/compute/docs/zones#available) in which the cluster | |
| 1513 | developers.google.com/console/help/new/#projectnumber). | |
| 1515 | cloud.google.com/compute/docs/zones#available) in which the cluster | |
| 1575 | support.google.com/cloud/answer/6158840). | |
| 1577 | cloud.google.com/compute/docs/zones#available) in which the cluster | |
| 1629 | developers.google.com/console/help/new/#projectnumber). | |
| 1631 | cloud.google.com/compute/docs/zones#available) in which the cluster | |
| 1681 | developers.google.com/console/help/new/#projectnumber). | |
| 1683 | cloud.google.com/compute/docs/zones#available) in which the cluster | |
| 1735 | support.google.com/cloud/answer/6158840). | |
| 1737 | cloud.google.com/compute/docs/zones#available) in which the cluster | |
| 1792 | developers.google.com/console/help/new/#projectnumber). | |
| 1794 | cloud.google.com/compute/docs/zones#available) in which the cluster | |
| 1847 | support.google.com/cloud/answer/6158840). | |
| 1849 | cloud.google.com/compute/docs/zones#available) in which the cluster |
GetClusterRequest.php
| Type | Line | Description |
|---|---|---|
| 20 | support.google.com/cloud/answer/6158840). | |
| 48 | support.google.com/cloud/answer/6158840). | |
| 64 | support.google.com/cloud/answer/6158840). | |
| 76 | support.google.com/cloud/answer/6158840). |
GetNodePoolRequest.php
| Type | Line | Description |
|---|---|---|
| 20 | developers.google.com/console/help/new/#projectnumber). | |
| 54 | developers.google.com/console/help/new/#projectnumber). | |
| 72 | developers.google.com/console/help/new/#projectnumber). | |
| 84 | developers.google.com/console/help/new/#projectnumber). |
GetOperationRequest.php
| Type | Line | Description |
|---|---|---|
| 20 | support.google.com/cloud/answer/6158840). | |
| 48 | support.google.com/cloud/answer/6158840). | |
| 64 | support.google.com/cloud/answer/6158840). | |
| 76 | support.google.com/cloud/answer/6158840). |
GetServerConfigRequest.php
| Type | Line | Description |
|---|---|---|
| 20 | support.google.com/cloud/answer/6158840). | |
| 41 | support.google.com/cloud/answer/6158840). | |
| 54 | support.google.com/cloud/answer/6158840). | |
| 66 | support.google.com/cloud/answer/6158840). |
IPAllocationPolicy.php
| Type | Line | Description |
|---|---|---|
| 87 | en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) | |
| 102 | en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) | |
| 118 | en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) | |
| 170 | en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) | |
| 181 | en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) | |
| 193 | en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) | |
| 446 | en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) | |
| 467 | en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) | |
| 491 | en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) | |
| 511 | en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) | |
| 536 | en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) | |
| 557 | en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) |
ListClustersRequest.php
| Type | Line | Description |
|---|---|---|
| 20 | support.google.com/cloud/answer/6158840). | |
| 42 | support.google.com/cloud/answer/6158840). | |
| 56 | support.google.com/cloud/answer/6158840). | |
| 68 | support.google.com/cloud/answer/6158840). |
ListNodePoolsRequest.php
| Type | Line | Description |
|---|---|---|
| 20 | developers.google.com/console/help/new/#projectnumber). | |
| 48 | developers.google.com/console/help/new/#projectnumber). | |
| 64 | developers.google.com/console/help/new/#projectnumber). | |
| 76 | developers.google.com/console/help/new/#projectnumber). |
ListOperationsRequest.php
| Type | Line | Description |
|---|---|---|
| 20 | support.google.com/cloud/answer/6158840). | |
| 41 | support.google.com/cloud/answer/6158840). | |
| 54 | support.google.com/cloud/answer/6158840). | |
| 66 | support.google.com/cloud/answer/6158840). |
CidrBlock.php
| Type | Line | Description |
|---|---|---|
| 102 | Adding a class alias for backwards compatibility with the previous class name. |
Provider.php
| Type | Line | Description |
|---|---|---|
| 28 | Adding a class alias for backwards compatibility with the previous class name. |
NetworkPolicy.php
| Type | Line | Description |
|---|---|---|
| 13 | kubernetes.io/docs/concepts/services-networking/networkpolicies/ |
NodeConfig.php
| Type | Line | Description |
|---|---|---|
| 41 | www.googleapis.com/auth/compute` is required for mounting | |
| 43 | www.googleapis.com/auth/devstorage.read_only` is required for | |
| 89 | kubernetes.io/docs/concepts/overview/working-with-objects/labels/ | |
| 98 | cloud.google.com/compute/docs/disks/local-ssd#local_ssd_limits | |
| 115 | cloud.google.com/compute/docs/instances/preemptible for more | |
| 123 | cloud.google.com/compute/docs/gpus for more information about | |
| 135 | cloud.google.com/compute/docs/instances/specify-min-cpu-platform) | |
| 162 | www.googleapis.com/auth/compute` is required for mounting | |
| 164 | www.googleapis.com/auth/devstorage.read_only` is required for | |
| 194 | kubernetes.io/docs/concepts/overview/working-with-objects/labels/ | |
| 199 | cloud.google.com/compute/docs/disks/local-ssd#local_ssd_limits | |
| 208 | cloud.google.com/compute/docs/instances/preemptible for more | |
| 212 | cloud.google.com/compute/docs/gpus for more information about | |
| 220 | cloud.google.com/compute/docs/instances/specify-min-cpu-platform) | |
| 297 | www.googleapis.com/auth/compute` is required for mounting | |
| 299 | www.googleapis.com/auth/devstorage.read_only` is required for | |
| 318 | www.googleapis.com/auth/compute` is required for mounting | |
| 320 | www.googleapis.com/auth/devstorage.read_only` is required for | |
| 446 | kubernetes.io/docs/concepts/overview/working-with-objects/labels/ | |
| 464 | kubernetes.io/docs/concepts/overview/working-with-objects/labels/ | |
| 482 | cloud.google.com/compute/docs/disks/local-ssd#local_ssd_limits | |
| 497 | cloud.google.com/compute/docs/disks/local-ssd#local_ssd_limits | |
| 546 | cloud.google.com/compute/docs/instances/preemptible for more | |
| 559 | cloud.google.com/compute/docs/instances/preemptible for more | |
| 576 | cloud.google.com/compute/docs/gpus for more information about | |
| 589 | cloud.google.com/compute/docs/gpus for more information about | |
| 610 | cloud.google.com/compute/docs/instances/specify-min-cpu-platform) | |
| 626 | cloud.google.com/compute/docs/instances/specify-min-cpu-platform) |
Status.php
| Type | Line | Description |
|---|---|---|
| 65 | Adding a class alias for backwards compatibility with the previous class name. |
Status.php
| Type | Line | Description |
|---|---|---|
| 46 | Adding a class alias for backwards compatibility with the previous class name. |
Type.php
| Type | Line | Description |
|---|---|---|
| 118 | Adding a class alias for backwards compatibility with the previous class name. |
Operation.php
| Type | Line | Description |
|---|---|---|
| 71 | www.ietf.org/rfc/rfc3339.txt) text format. | |
| 78 | www.ietf.org/rfc/rfc3339.txt) text format. | |
| 110 | www.ietf.org/rfc/rfc3339.txt) text format. | |
| 113 | www.ietf.org/rfc/rfc3339.txt) text format. | |
| 335 | www.ietf.org/rfc/rfc3339.txt) text format. | |
| 347 | www.ietf.org/rfc/rfc3339.txt) text format. | |
| 363 | www.ietf.org/rfc/rfc3339.txt) text format. | |
| 375 | www.ietf.org/rfc/rfc3339.txt) text format. |
RollbackNodePoolUpgradeRequest.php
| Type | Line | Description |
|---|---|---|
| 22 | support.google.com/cloud/answer/6158840). | |
| 56 | support.google.com/cloud/answer/6158840). | |
| 74 | support.google.com/cloud/answer/6158840). | |
| 86 | support.google.com/cloud/answer/6158840). |
SetAddonsConfigRequest.php
| Type | Line | Description |
|---|---|---|
| 20 | support.google.com/cloud/answer/6158840). | |
| 55 | support.google.com/cloud/answer/6158840). | |
| 74 | support.google.com/cloud/answer/6158840). | |
| 86 | support.google.com/cloud/answer/6158840). |
SetLabelsRequest.php
| Type | Line | Description |
|---|---|---|
| 22 | developers.google.com/console/help/new/#projectnumber). | |
| 67 | developers.google.com/console/help/new/#projectnumber). | |
| 92 | developers.google.com/console/help/new/#projectnumber). | |
| 104 | developers.google.com/console/help/new/#projectnumber). |
SetLegacyAbacRequest.php
| Type | Line | Description |
|---|---|---|
| 21 | support.google.com/cloud/answer/6158840). | |
| 55 | support.google.com/cloud/answer/6158840). | |
| 73 | support.google.com/cloud/answer/6158840). | |
| 85 | support.google.com/cloud/answer/6158840). |
SetLocationsRequest.php
| Type | Line | Description |
|---|---|---|
| 20 | support.google.com/cloud/answer/6158840). | |
| 59 | support.google.com/cloud/answer/6158840). | |
| 82 | support.google.com/cloud/answer/6158840). | |
| 94 | support.google.com/cloud/answer/6158840). |
SetLoggingServiceRequest.php
| Type | Line | Description |
|---|---|---|
| 20 | support.google.com/cloud/answer/6158840). | |
| 57 | support.google.com/cloud/answer/6158840). | |
| 78 | support.google.com/cloud/answer/6158840). | |
| 90 | support.google.com/cloud/answer/6158840). |
SetMaintenancePolicyRequest.php
| Type | Line | Description |
|---|---|---|
| 20 | support.google.com/cloud/answer/6158840). | |
| 55 | support.google.com/cloud/answer/6158840). | |
| 74 | support.google.com/cloud/answer/6158840). | |
| 86 | support.google.com/cloud/answer/6158840). |
Action.php
| Type | Line | Description |
|---|---|---|
| 43 | Adding a class alias for backwards compatibility with the previous class name. |
SetMasterAuthRequest.php
| Type | Line | Description |
|---|---|---|
| 20 | support.google.com/cloud/answer/6158840). | |
| 60 | support.google.com/cloud/answer/6158840). | |
| 80 | support.google.com/cloud/answer/6158840). | |
| 92 | support.google.com/cloud/answer/6158840). |
SetMonitoringServiceRequest.php
| Type | Line | Description |
|---|---|---|
| 20 | support.google.com/cloud/answer/6158840). | |
| 57 | support.google.com/cloud/answer/6158840). | |
| 78 | support.google.com/cloud/answer/6158840). | |
| 90 | support.google.com/cloud/answer/6158840). |
SetNetworkPolicyRequest.php
| Type | Line | Description |
|---|---|---|
| 20 | developers.google.com/console/help/new/#projectnumber). | |
| 54 | developers.google.com/console/help/new/#projectnumber). | |
| 72 | developers.google.com/console/help/new/#projectnumber). | |
| 84 | developers.google.com/console/help/new/#projectnumber). |
SetNodePoolAutoscalingRequest.php
| Type | Line | Description |
|---|---|---|
| 20 | support.google.com/cloud/answer/6158840). | |
| 60 | support.google.com/cloud/answer/6158840). | |
| 80 | support.google.com/cloud/answer/6158840). | |
| 92 | support.google.com/cloud/answer/6158840). |
SetNodePoolManagementRequest.php
| Type | Line | Description |
|---|---|---|
| 21 | support.google.com/cloud/answer/6158840). | |
| 61 | support.google.com/cloud/answer/6158840). | |
| 81 | support.google.com/cloud/answer/6158840). | |
| 93 | support.google.com/cloud/answer/6158840). |
SetNodePoolSizeRequest.php
| Type | Line | Description |
|---|---|---|
| 21 | support.google.com/cloud/answer/6158840). | |
| 61 | support.google.com/cloud/answer/6158840). | |
| 81 | support.google.com/cloud/answer/6158840). | |
| 93 | support.google.com/cloud/answer/6158840). |
StartIPRotationRequest.php
| Type | Line | Description |
|---|---|---|
| 21 | developers.google.com/console/help/new/#projectnumber). | |
| 49 | developers.google.com/console/help/new/#projectnumber). | |
| 65 | developers.google.com/console/help/new/#projectnumber). | |
| 77 | developers.google.com/console/help/new/#projectnumber). |
UpdateClusterRequest.php
| Type | Line | Description |
|---|---|---|
| 20 | support.google.com/cloud/answer/6158840). | |
| 54 | support.google.com/cloud/answer/6158840). | |
| 72 | support.google.com/cloud/answer/6158840). | |
| 84 | support.google.com/cloud/answer/6158840). |
UpdateMasterRequest.php
| Type | Line | Description |
|---|---|---|
| 20 | support.google.com/cloud/answer/6158840). | |
| 56 | support.google.com/cloud/answer/6158840). | |
| 76 | support.google.com/cloud/answer/6158840). | |
| 88 | support.google.com/cloud/answer/6158840). |
UpdateNodePoolRequest.php
| Type | Line | Description |
|---|---|---|
| 20 | support.google.com/cloud/answer/6158840). | |
| 68 | support.google.com/cloud/answer/6158840). | |
| 92 | support.google.com/cloud/answer/6158840). | |
| 104 | support.google.com/cloud/answer/6158840). |
AnonymousCredentials.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
ArrayTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
BatchDaemon.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 67 | Just share the usual descriptors. | |
| 69 | stdin', 'r'], | |
| 70 | stdout', 'w'], | |
| 71 | stderr', 'w'] | |
| 95 | Stopping an excessive child. | |
| 99 | Keep sending SIGTERM until the child exits. | |
| 127 | Reload the config after 1 second | |
| 134 | Keep sending SIGTERM until the child exits. | |
| 146 | Reload the config |
BatchDaemonTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
BatchJob.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 115 | Fire SIGALRM after 1 second to unblock the blocking call. | |
| 124 | blocking mode | |
| 135 | It runs the job when | |
| 136 | 1. Number of items reaches the batchSize. | |
| 137 | 2-a. Count is >0 and the current time is larger than lastInvoked + period. | |
| 138 | 2-b. Count is >0 and the shutdown flag is true. |
BatchRunner.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 102 | Always work on the latest data |
BatchTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
ClosureSerializerInterface.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
ConfigStorageInterface.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
HandleFailureTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 62 | Use getmypid for simplicity. |
InMemoryConfigStorage.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 154 | php.net/manual/en/function.register-shutdown-function.php} |
InterruptTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 34 | setup signal handlers | |
| 43 | php.net/manual/en/function.pcntl-signal.php} |
JobConfig.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
JobInterface.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
JobTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
OpisClosureSerializer.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 24 | github.com/opis/closure). |
ProcessItemInterface.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
Retry.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 52 | Rename the file first |
SerializableClientTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
SimpleJob.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
SimpleJobTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
SysvConfigStorage.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 110 | If the variable write fails, clear the memory and re-raise the exception |
SysvProcessor.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 59 | Try to put the content in a temp file and send the filename. |
Blob.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 36 | Get the value of a blob by casting to a string. |
CallTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
ClientTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 87 | cloud.google.com/php/grpc for installation ' . | |
| 194 | cloud.google.com/iam/docs/' . |
ReaderInterface.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
StreamReader.php
| Type | Line | Description |
|---|---|---|
| 10 | www.apache.org/licenses/LICENSE-2.0 | |
| 30 | 169.254.169.254/computeMetadata/v1/'; |
Metadata.php
| Type | Line | Description |
|---|---|---|
| 10 | www.apache.org/licenses/LICENSE-2.0 | |
| 41 | It is easy to get any metadata from a project. |
ConcurrencyControlTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
DebugInfoTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
Duration.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 33 | Duration objects can be cast to json-encoded strings. |
EmulatorTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 38 | {$emulatorUriComponents['host']}"; |
AbortedException.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
BadRequestException.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
ConflictException.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
DeadlineExceededException.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
FailedPreconditionException.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
GoogleException.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
NotFoundException.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
ServerException.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
ServiceException.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
ExponentialBackoff.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 50 | @todo revisit this approach | |
| 51 | @codeCoverageIgnoreStart | |
| 55 | @codeCoverageIgnoreEnd |
GeoPoint.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 26 | www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf) standard. | |
| 154 | cloud.google.com/datastore/reference/rest/Shared.Types/LatLng) |
GrpcRequestWrapper.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
GrpcTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 107 | GAX v0.32.0 introduced the CredentialsWrapper class and a different | |
| 108 | way to configure credentials. If the class exists, use this new method | |
| 109 | otherwise default to legacy usage. |
Iam.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 31 | IAM policies are obtained via resources which implement IAM. | |
| 32 | In this example, we'll use PubSub topics to demonstrate | |
| 33 | how IAM policies are managed. |
IamConnectionInterface.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
PolicyBuilder.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
Int64.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
ItemIterator.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
ItemIteratorTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 22 | php.net/manual/en/class.iterator.php) interface and | |
| 135 | If there are no results, but a token for the next page | |
| 136 | exists let's continue paging until there are results. |
PageIterator.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
PageIteratorTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 24 | php.net/manual/en/class.iterator.php) interface and |
JsonTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
FlockLock.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 23 | php.net/manual/en/function.flock.php |
LockInterface.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
LockTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
SemaphoreLock.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 25 | php.net/manual/en/book.sem.php |
SymfonyLockAdapter.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
AppEngineFlexFormatter.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
AppEngineFlexHandler.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 48 | /var/log/app_engine/app.$pid.json"; |
LongRunningConnectionInterface.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
LongRunningOperation.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 223 | cloud.google.com/spanner/docs/reference/rpc/google.longrunning#google.longrunning.Operation) | |
| 241 | cloud.google.com/spanner/docs/reference/rpc/google.longrunning#google.longrunning.Operation) |
LROTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
OperationResponseTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
PhpArray.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 86 | Make sure the value is an array of values | |
| 91 | Skip nullified repeated values | |
| 128 | Get message descriptor | |
| 132 | Get the field by tag number or name | |
| 137 | Unknown field found | |
| 145 | Make sure the value is an array of values |
EmptyMetadataProvider.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 28 | cloud.google.com/logging/docs/reference/v2/rest/v2/MonitoredResource} |
GAEFlexMetadataProvider.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
GAEMetadataProvider.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 68 | cloud.google.com/logging/docs/reference/v2/rest/v2/MonitoredResource} |
GAEStandardMetadataProvider.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
MetadataProviderInterface.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 27 | cloud.google.com/logging/docs/reference/v2/rest/v2/MonitoredResource} |
MetadataProviderUtils.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
SimpleMetadataProvider.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 30 | cloud.google.com/logging/docs/reference/v2/rest/v2/MonitoredResource} | |
| 52 | cloud.google.com/logging/docs/reference/v2/rest/v2/MonitoredResource} |
RequestBuilder.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| TODO | 74 | complexity high, revisit |
| TODO | 74 | consider validating against the schemas |
RequestWrapper.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 281 | no-op |
RequestWrapperTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
RestTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
Retry.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
RetryDeciderTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
ServiceBuilder.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 50 | developers.google.com/identity/protocols/application-default-credentials). | |
| 103 | cloud.google.com/bigquery/docs). | |
| 134 | cloud.google.com/datastore/docs/). | |
| 158 | cloud.google.com/firestore/docs/). | |
| 183 | cloud.google.com/logging/docs/). | |
| 204 | cloud.google.com/natural-language/docs/). | |
| 223 | cloud.google.com/pubsub/docs/). | |
| 247 | cloud.google.com/spanner/). | |
| 273 | cloud.google.com/speech/docs/). | |
| 289 | cloud.google.com/speech/docs/languages) | |
| 301 | developers.google.com/storage). | |
| 321 | cloud.google.com/trace/docs/). | |
| 341 | cloud.google.com/vision/docs/). | |
| 363 | cloud.google.com/translation/v2/pricing) | |
| 364 | cloud.google.com/translation/v2/faq) pages for details. | |
| 366 | cloud.google.com/translation/docs/). | |
| 373 | cloud.google.com/translation/v2/translating-text-with-rest#before-you-begin) |
SysvTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
CheckForClassTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
DatastoreOperationRefreshTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
DocBlockStripSpaces.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
FileListFilterIterator.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
GrpcTestTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
KeyPairGenerateTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
MockGlobals.php
| Type | Line | Description |
|---|---|---|
| 10 | www.apache.org/licenses/LICENSE-2.0 |
MockValues.php
| Type | Line | Description |
|---|---|---|
| 10 | www.apache.org/licenses/LICENSE-2.0 |
RegexFileFilter.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
Container.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
Coverage.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
ExcludeFilter.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 49 | Accept the current item if we can recurse into it | |
| 50 | or it is a value starting with "test" |
ResultPrinter.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
Scanner.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
ScannerInterface.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
Fixtures.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
InvokeResult.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
Parser.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 89 | Get the 2nd example (index=1) |
Snippet.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
SnippetTestCase.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
StubTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 67 | wrap this in a loop that will iterate up a class hierarchy to try | |
| 68 | and find a private property. |
DeletionQueue.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
SystemTestCase.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
TestHelpers.php
| Type | Line | Description |
|---|---|---|
| 10 | www.apache.org/licenses/LICENSE-2.0 | |
| 116 | ') | |
| 194 | This should always be last. | |
| 209 | For generated system tests, we need to set GOOGLE_APPLICATION_CREDENTIALS | |
| 210 | and PROJECT_ID to appropriate values | |
| 233 | Skip flushing deletion queue if exiting a forked process. |
Timestamp.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 36 | Timestamps can be cast to strings. |
TimeTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
AbstractUploader.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
MultipartUploader.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
ResumableUploader.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 92 | Set uploadProgressCallback if it's passed as an option. |
SignedUrlUploader.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
StreamableUploader.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 45 | find or create the resumeUri | |
| 57 | do the streaming write | |
| 81 | reset the buffer with the remaining contents |
UriTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 53 | @todo fix this hack. when using build_query booleans are converted to | |
| 54 | 1 or 0 which the API does not accept. this casts bools to their | |
| 55 | string representation | |
| TODO | 35 | look at returning UriInterface |
ValidateTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
ValueMapperTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
WhitelistTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
AcceleratorConfig.php
| Type | Line | Description |
|---|---|---|
| 24 | www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80` | |
| 49 | www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80` | |
| 66 | www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80` | |
| 83 | www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80` |
Cluster.php
| Type | Line | Description |
|---|---|---|
| 42 | www.ietf.org/rfc/rfc1035.txt). | |
| 44 | www.ietf.org/rfc/rfc1035.txt). | |
| 95 | www.ietf.org/rfc/rfc1035.txt). | |
| 97 | www.ietf.org/rfc/rfc1035.txt). | |
| 202 | www.ietf.org/rfc/rfc1035.txt). | |
| 204 | www.ietf.org/rfc/rfc1035.txt). | |
| 218 | www.ietf.org/rfc/rfc1035.txt). | |
| 220 | www.ietf.org/rfc/rfc1035.txt). |
ClusterConfig.php
| Type | Line | Description |
|---|---|---|
| 68 | metadata/computeMetadata/v1/instance/attributes/dataproc-role) | |
| 111 | metadata/computeMetadata/v1/instance/attributes/dataproc-role) | |
| 303 | metadata/computeMetadata/v1/instance/attributes/dataproc-role) | |
| 323 | metadata/computeMetadata/v1/instance/attributes/dataproc-role) |
ClusterControllerClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/cloud/dataproc/v1/clusters.proto | |
| 36 | This class is intentionally empty, and is intended to hold manual | |
| 37 | additions to the generated {@see ClusterControllerGapicClient} class. |
ClusterControllerGrpcClient.php
| Type | Line | Description |
|---|---|---|
| 2 | GENERATED CODE -- DO NOT EDIT! | |
| 4 | Original file comments: | |
| 5 | Copyright 2017 Google Inc. | |
| 7 | // Licensed under the Apache License, Version 2.0 (the "License"); | |
| 8 | you may not use this file except in compliance with the License. | |
| 9 | You may obtain a copy of the License at | |
| 11 | // http://www.apache.org/licenses/LICENSE-2.0 | |
| 13 | // Unless required by applicable law or agreed to in writing, software | |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, | |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 16 | See the License for the specific language governing permissions and | |
| 17 | limitations under the License. | |
| 19 | namespace Google\Cloud\Dataproc\V1; |
State.php
| Type | Line | Description |
|---|---|---|
| 40 | Adding a class alias for backwards compatibility with the previous class name. |
State.php
| Type | Line | Description |
|---|---|---|
| 52 | Adding a class alias for backwards compatibility with the previous class name. |
Substate.php
| Type | Line | Description |
|---|---|---|
| 35 | Adding a class alias for backwards compatibility with the previous class name. |
DiskConfig.php
| Type | Line | Description |
|---|---|---|
| 27 | hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html) data. | |
| 47 | hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html) data. | |
| 87 | hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html) data. | |
| 103 | hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html) data. |
ClusterControllerGapicClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/cloud/dataproc/v1/clusters.proto | |
| 66 | doSomethingWith($result) | |
| 69 | handleError($error) | |
| 73 | Alternatively: | |
| 75 | start the operation, keep the operation name, and resume later | |
| 78 | ... do other work | |
| 81 | ... do other work | |
| 86 | doSomethingWith($result) | |
| 89 | handleError($error) | |
| 126 | www.googleapis.com/auth/cloud-platform', | |
| 258 | doSomethingWith($result) | |
| 261 | handleError($error) | |
| 265 | Alternatively: | |
| 267 | start the operation, keep the operation name, and resume later | |
| 270 | ... do other work | |
| 273 | ... do other work | |
| 278 | doSomethingWith($result) | |
| 281 | handleError($error) | |
| 338 | doSomethingWith($result) | |
| 341 | handleError($error) | |
| 345 | Alternatively: | |
| 347 | start the operation, keep the operation name, and resume later | |
| 350 | ... do other work | |
| 353 | ... do other work | |
| 358 | doSomethingWith($result) | |
| 361 | handleError($error) | |
| 465 | operation succeeded and returns no value | |
| 468 | handleError($error) | |
| 472 | Alternatively: | |
| 474 | start the operation, keep the operation name, and resume later | |
| 477 | ... do other work | |
| 480 | ... do other work | |
| 484 | operation succeeded and returns no value | |
| 487 | handleError($error) | |
| 587 | Iterate over pages of elements | |
| 591 | doSomethingWith($element); | |
| 596 | Alternatively: | |
| 598 | Iterate through all elements | |
| 601 | doSomethingWith($element); | |
| 693 | operation succeeded and returns no value | |
| 696 | handleError($error) | |
| 700 | Alternatively: | |
| 702 | start the operation, keep the operation name, and resume later | |
| 705 | ... do other work | |
| 708 | ... do other work | |
| 712 | operation succeeded and returns no value | |
| 715 | handleError($error) |
JobControllerGapicClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/cloud/dataproc/v1/jobs.proto | |
| 95 | www.googleapis.com/auth/cloud-platform', | |
| 284 | Iterate over pages of elements | |
| 288 | doSomethingWith($element); | |
| 293 | Alternatively: | |
| 295 | Iterate through all elements | |
| 298 | doSomethingWith($element); | |
| 449 | cloud.google.com/dataproc/docs/reference/rest/v1/projects.regions.jobs/list) or | |
| 450 | cloud.google.com/dataproc/docs/reference/rest/v1/projects.regions.jobs/get). |
GceClusterConfig.php
| Type | Line | Description |
|---|---|---|
| 26 | www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]` | |
| 40 | www.googleapis.com/compute/v1/projects/[project_id]/regions/global/default` | |
| 51 | www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/sub0` | |
| 75 | cloud.google.com/compute/docs/access/service-accounts#custom_service_accounts | |
| 86 | www.googleapis.com/auth/cloud.useraccounts.readonly | |
| 87 | www.googleapis.com/auth/devstorage.read_write | |
| 88 | www.googleapis.com/auth/logging.write | |
| 90 | www.googleapis.com/auth/bigquery | |
| 91 | www.googleapis.com/auth/bigtable.admin.table | |
| 92 | www.googleapis.com/auth/bigtable.data | |
| 93 | www.googleapis.com/auth/devstorage.full_control | |
| 107 | cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)). | |
| 126 | www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]` | |
| 136 | www.googleapis.com/compute/v1/projects/[project_id]/regions/global/default` | |
| 143 | www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/sub0` | |
| 159 | cloud.google.com/compute/docs/access/service-accounts#custom_service_accounts | |
| 166 | www.googleapis.com/auth/cloud.useraccounts.readonly | |
| 167 | www.googleapis.com/auth/devstorage.read_write | |
| 168 | www.googleapis.com/auth/logging.write | |
| 170 | www.googleapis.com/auth/bigquery | |
| 171 | www.googleapis.com/auth/bigtable.admin.table | |
| 172 | www.googleapis.com/auth/bigtable.data | |
| 173 | www.googleapis.com/auth/devstorage.full_control | |
| 179 | cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)). | |
| 194 | www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]` | |
| 213 | www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]` | |
| 236 | www.googleapis.com/compute/v1/projects/[project_id]/regions/global/default` | |
| 255 | www.googleapis.com/compute/v1/projects/[project_id]/regions/global/default` | |
| 275 | www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/sub0` | |
| 291 | www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/sub0` | |
| 349 | cloud.google.com/compute/docs/access/service-accounts#custom_service_accounts | |
| 367 | cloud.google.com/compute/docs/access/service-accounts#custom_service_accounts | |
| 387 | www.googleapis.com/auth/cloud.useraccounts.readonly | |
| 388 | www.googleapis.com/auth/devstorage.read_write | |
| 389 | www.googleapis.com/auth/logging.write | |
| 391 | www.googleapis.com/auth/bigquery | |
| 392 | www.googleapis.com/auth/bigtable.admin.table | |
| 393 | www.googleapis.com/auth/bigtable.data | |
| 394 | www.googleapis.com/auth/devstorage.full_control | |
| 408 | www.googleapis.com/auth/cloud.useraccounts.readonly | |
| 409 | www.googleapis.com/auth/devstorage.read_write | |
| 410 | www.googleapis.com/auth/logging.write | |
| 412 | www.googleapis.com/auth/bigquery | |
| 413 | www.googleapis.com/auth/bigtable.admin.table | |
| 414 | www.googleapis.com/auth/bigtable.data | |
| 415 | www.googleapis.com/auth/devstorage.full_control | |
| 459 | cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)). | |
| 471 | cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)). |
HadoopJob.php
| Type | Line | Description |
|---|---|---|
| 13 | hadoop.apache.org/docs/current/hadoop-mapreduce-client/hadoop-mapreduce-client-core/MapReduceTutorial.html) | |
| 14 | hadoop.apache.org/docs/r2.7.1/hadoop-yarn/hadoop-yarn-site/YARN.html). | |
| 78 | foo-bucket/analytics-binaries/extract-useful-metrics-mr.jar' | |
| 80 | /home/usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar' | |
| 117 | foo-bucket/analytics-binaries/extract-useful-metrics-mr.jar' | |
| 119 | /home/usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar' | |
| 132 | foo-bucket/analytics-binaries/extract-useful-metrics-mr.jar' | |
| 134 | /home/usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar' |
HiveJob.php
| Type | Line | Description |
|---|---|---|
| 12 | hive.apache.org/) |
InstanceGroupConfig.php
| Type | Line | Description |
|---|---|---|
| 44 | www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2` | |
| 100 | www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2` | |
| 212 | www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2` | |
| 227 | www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2` |
Job.php
| Type | Line | Description |
|---|---|---|
| 74 | www.ietf.org/rfc/rfc1035.txt). | |
| 76 | www.ietf.org/rfc/rfc1035.txt). | |
| 136 | www.ietf.org/rfc/rfc1035.txt). | |
| 138 | www.ietf.org/rfc/rfc1035.txt). | |
| 512 | www.ietf.org/rfc/rfc1035.txt). | |
| 514 | www.ietf.org/rfc/rfc1035.txt). | |
| 528 | www.ietf.org/rfc/rfc1035.txt). | |
| 530 | www.ietf.org/rfc/rfc1035.txt). |
JobControllerClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/cloud/dataproc/v1/jobs.proto | |
| 36 | This class is intentionally empty, and is intended to hold manual | |
| 37 | additions to the generated {@see JobControllerGapicClient} class. |
JobControllerGrpcClient.php
| Type | Line | Description |
|---|---|---|
| 2 | GENERATED CODE -- DO NOT EDIT! | |
| 4 | Original file comments: | |
| 5 | Copyright 2017 Google Inc. | |
| 7 | // Licensed under the Apache License, Version 2.0 (the "License"); | |
| 8 | you may not use this file except in compliance with the License. | |
| 9 | You may obtain a copy of the License at | |
| 11 | // http://www.apache.org/licenses/LICENSE-2.0 | |
| 13 | // Unless required by applicable law or agreed to in writing, software | |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, | |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 16 | See the License for the specific language governing permissions and | |
| 17 | limitations under the License. | |
| 19 | namespace Google\Cloud\Dataproc\V1; |
State.php
| Type | Line | Description |
|---|---|---|
| 80 | Adding a class alias for backwards compatibility with the previous class name. |
Substate.php
| Type | Line | Description |
|---|---|---|
| 43 | Adding a class alias for backwards compatibility with the previous class name. |
JobStateMatcher.php
| Type | Line | Description |
|---|---|---|
| 35 | Adding a class alias for backwards compatibility with the previous class name. |
Level.php
| Type | Line | Description |
|---|---|---|
| 9 | hive.apache.org/) job, Cloud | |
| 72 | Adding a class alias for backwards compatibility with the previous class name. |
PigJob.php
| Type | Line | Description |
|---|---|---|
| 12 | pig.apache.org/) |
PySparkJob.php
| Type | Line | Description |
|---|---|---|
| 13 | spark.apache.org/docs/0.9.0/python-programming-guide.html) |
SparkJob.php
| Type | Line | Description |
|---|---|---|
| 12 | spark.apache.org/) |
SparkSqlJob.php
| Type | Line | Description |
|---|---|---|
| 12 | spark.apache.org/sql/) |
State.php
| Type | Line | Description |
|---|---|---|
| 71 | Adding a class alias for backwards compatibility with the previous class name. |
Blob.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 39 | Get the value of a blob by casting to a string. |
ConnectionInterface.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 22 | cloud.google.com/datastore/). |
Rest.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 29 | cloud.google.com/datastore/reference/rest/). | |
| 37 | datastore.googleapis.com/'; |
DatastoreClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 37 | cloud.google.com/datastore/docs/). | |
| 40 | cloud.google.com/datastore/docs/concepts/multitenancy) | |
| 46 | cloud.google.com/datastore/docs/tools/datastore-emulator), | |
| 47 | goo.gl/vCVZrY) environment variable. | |
| 57 | Multi-tenant applications can supply a namespace ID. | |
| 66 | Using the Datastore Emulator | |
| 69 | Be sure to use the port specified when starting the emulator. | |
| 70 | `8900` is used as an example only. | |
| 71 | localhost:8900'); | |
| 84 | www.googleapis.com/auth/datastore'; | |
| 131 | cloud.google.com/datastore/docs/concepts/multitenancy). | |
| 154 | The second parameter here should change to a variable | |
| 155 | when gRPC support is added for variable encoding. | |
| 174 | To override the internal detection of identifier type, you can specify | |
| 175 | which type to use. | |
| 182 | cloud.google.com/datastore/reference/rest/v1/Key Key | |
| 183 | cloud.google.com/datastore/reference/rest/v1/Key#PathElement PathElement | |
| 220 | Ancestor paths can be specified | |
| 230 | cloud.google.com/datastore/reference/rest/v1/Key Key | |
| 231 | cloud.google.com/datastore/reference/rest/v1/Key#PathElement PathElement | |
| 238 | cloud.google.com/datastore/reference/rest/v1/Key#PathElement) arrays. Use to | |
| 239 | cloud.google.com/datastore/docs/concepts/entities#ancestor_paths). | |
| 277 | [snippet=array] | |
| 278 | Entity values can be assigned and accessed via the array syntax. | |
| 286 | [snippet=object_accessor] | |
| 287 | Entity values can also be assigned and accessed via an object syntax. | |
| 295 | [snippet=incomplete] | |
| 296 | Entities can be created with a Kind only, for inserting into datastore | |
| 301 | [snippet=custom_class_interface] | |
| 302 | Entities can be custom classes implementing the Datastore entity interface. | |
| 315 | `Person` | |
| 319 | [snippet=custom_class_extends] | |
| 320 | Custom entity types may also extend the built-in Entity class. | |
| 330 | `Person` | |
| 334 | [snippet=exclude_indexes] | |
| 335 | If you wish to exclude certain properties from datastore indexes, | |
| 336 | property names may be supplied in the method $options: | |
| 348 | cloud.google.com/datastore/reference/rest/v1/Entity Entity | |
| 382 | cloud.google.com/datastore/reference/rest/Shared.Types/LatLng LatLng | |
| 402 | Blobs can be used to store binary data | |
| 445 | cloud.google.com/datastore/reference/rest/v1/projects/allocateIds allocateIds | |
| 475 | cloud.google.com/datastore/reference/rest/v1/projects/allocateIds allocateIds | |
| 494 | cloud.google.com/datastore/docs/concepts/transactions Datastore Transactions | |
| 495 | cloud.google.com/datastore/docs/reference/rest/v1/projects/beginTransaction beginTransaction | |
| 502 | cloud.google.com/datastore/docs/reference/rest/v1/projects/beginTransaction#ReadWrite). | |
| 510 | if empty, force request to encode as {} rather than []. | |
| 528 | cloud.google.com/datastore/docs/concepts/transactions Datastore Transactions | |
| 529 | cloud.google.com/datastore/docs/reference/rest/v1/projects/beginTransaction beginTransaction | |
| 536 | cloud.google.com/datastore/docs/reference/rest/v1/projects/beginTransaction#ReadOnly). | |
| 544 | if empty, force request to encode as {} rather than []. | |
| 571 | cloud.google.com/datastore/docs/reference/rest/v1/projects/commit Commit API documentation | |
| 603 | cloud.google.com/datastore/docs/reference/rest/v1/projects/commit Commit API documentation | |
| 607 | cloud.google.com/datastore/reference/rest/v1/projects/commit#response-body) | |
| 637 | cloud.google.com/datastore/docs/reference/rest/v1/projects/commit Commit API documentation | |
| 679 | cloud.google.com/datastore/docs/reference/rest/v1/projects/commit Commit API documentation | |
| 694 | cloud.google.com/datastore/reference/rest/v1/projects/commit#response-body) | |
| 735 | cloud.google.com/datastore/docs/reference/rest/v1/projects/commit Commit API documentation | |
| 779 | cloud.google.com/datastore/docs/reference/rest/v1/projects/commit Commit API documentation | |
| 783 | cloud.google.com/datastore/reference/rest/v1/projects/commit#response-body) | |
| 809 | cloud.google.com/datastore/docs/reference/rest/v1/projects/commit Commit API documentation | |
| 845 | cloud.google.com/datastore/docs/reference/rest/v1/projects/commit Commit API documentation | |
| 856 | cloud.google.com/datastore/reference/rest/v1/projects/commit#response-body) | |
| 884 | 'Bob' | |
| 888 | cloud.google.com/datastore/docs/reference/rest/v1/projects/lookup Lookup API documentation | |
| 895 | cloud.google.com/datastore/reference/rest/v1/ReadOptions#ReadConsistency). | |
| 932 | cloud.google.com/datastore/docs/reference/rest/v1/projects/lookup Lookup API documentation | |
| 939 | cloud.google.com/datastore/reference/rest/v1/ReadOptions#ReadConsistency). | |
| 971 | cloud.google.com/datastore/reference/rest/v1/projects/runQuery#query) | |
| 990 | [snippet=bindings] | |
| 991 | Literals must be provided as bound parameters by default: | |
| 1000 | [snippet=pos_bindings] | |
| 1001 | Positional binding is also supported: | |
| 1010 | [snippet=literals] | |
| 1011 | While not recommended, you can use literals in your query string: | |
| 1017 | cloud.google.com/datastore/docs/apis/gql/gql_reference) string. | |
| 1029 | cloud.google.com/datastore/reference/rest/v1/ReadOptions#ReadConsistency). | |
| 1053 | cloud.google.com/datastore/docs/reference/rest/v1/projects/runQuery RunQuery API documentation | |
| 1064 | cloud.google.com/datastore/reference/rest/v1/ReadOptions#ReadConsistency). | |
| 1077 | cloud.google.com/datastore/reference/rest/v1/projects/commit#MutationResult) |
DatastoreSessionHandler.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 72 | Then read and write the $_SESSION array. | |
| 95 | Then read and write the $_SESSION array. | |
| 102 | If `write` fails for any reason, an exception will be thrown. | |
| 105 | You can still read the $_SESSION array after closing the session. | |
| 107 | php.net/manual/en/class.sessionhandlerinterface.php SessionHandlerInterface | |
| 113 | cloud.google.com/datastore/docs/reference/rpc/google.datastore.v1#google.datastore.v1.PartitionId | |
| 157 | Cut down to 1000 |
DatastoreTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
Entity.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 27 | php.net/arrayaccess), allowing | |
| 63 | 'Bob' | |
| 68 | Custom entity types can be created by implementing the datastore entity interface. | |
| 69 | You can also define mappings to correctly fetch embedded entities. | |
| 101 | `Business` | |
| 102 | `Business` | |
| 105 | cloud.google.com/datastore/docs/reference/rest/v1/Entity Entity API documentation |
EntityInterface.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
EntityIterator.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 33 | cloud.google.com/datastore/docs/reference/rest/v1/projects/runQuery#MoreResultsType MoreResultsType Documentation |
EntityMapper.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 132 | cloud.google.com/datastore/reference/rest/v1/Entity) | |
| 250 | @todo (major) all embedded entities should be of type Entity or given EntityInterface type. | |
| 375 | @codeCoverageIgnoreStart | |
| 389 | @codeCoverageIgnoreEnd | |
| 479 | ListValues may not contain nested ListValues. | |
| 480 | Therefore, if an empty array is provided as part of an array, | |
| 481 | we can encode it as an EntityValue. | |
| 527 | Check if there are valid base64 characters | |
| 532 | Decode the string in strict mode and check the results | |
| 538 | Encode the string again | |
| TODO | 411 | add middleware |
EntityOptionsTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 45 | cloud.google.com/datastore/docs/reference/rest/v1/EntityResult EntityResult.cursor | |
| 67 | cloud.google.com/datastore/docs/reference/rest/v1/EntityResult EntitResult.version |
EntityPageIterator.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 39 | cloud.google.com/datastore/docs/reference/rest/v1/projects/runQuery#MoreResultsType MoreResultsType Documentation |
EntityTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
GeoPoint.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 34 | cloud.google.com/datastore/reference/rest/Shared.Types/LatLng LatLng |
Key.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 55 | Keys with complex paths can be constructed with additional method calls. | |
| 63 | Path elements can also be appended, so long as the current last path | |
| 64 | element contains a kind and identifier. | |
| 69 | Error here. | |
| 72 | cloud.google.com/datastore/reference/rest/v1/Key Key | |
| 85 | Kept for backwards compatability | |
| 111 | cloud.google.com/datastore/docs/concepts/multitenancy). | |
| 144 | In cases where the identifier type is ambiguous, you can choose the | |
| 145 | type to be used. | |
| 152 | cloud.google.com/datastore/reference/rest/v1/Key#PathElement PathElement | |
| 194 | In cases where the identifier type is ambiguous, you can choose the | |
| 195 | type to be used. | |
| 202 | cloud.google.com/datastore/reference/rest/v1/Key#PathElement PathElement | |
| 263 | An incomplete key does not have an ID on its last path element. | |
| 273 | A named key has a kind and an identifier on each path element. | |
| 489 | If the path is associative (i.e. not nested), wrap it up. |
Operation.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 83 | cloud.google.com/datastore/reference/rest/v1/Key Key | |
| 84 | cloud.google.com/datastore/reference/rest/v1/Key#PathElement PathElement | |
| 120 | cloud.google.com/datastore/reference/rest/v1/Key Key | |
| 121 | cloud.google.com/datastore/reference/rest/v1/Key#PathElement PathElement | |
| 128 | cloud.google.com/datastore/reference/rest/v1/Key#PathElement) arrays. Use to | |
| 129 | cloud.google.com/datastore/docs/concepts/entities#ancestor_paths). | |
| 193 | cloud.google.com/datastore/reference/rest/v1/Entity Entity | |
| 248 | cloud.google.com/datastore/docs/reference/data/rest/v1/projects/beginTransaction#TransactionOptions) | |
| 270 | cloud.google.com/datastore/reference/rest/v1/projects/allocateIds allocateIds | |
| 279 | Validate the given keys. First check types, then state of each. | |
| 280 | The API will throw a 400 if the key is named, but it's an easy | |
| 281 | check we can handle before going to the API to save a request. | |
| 282 | @todo replace with json schema | |
| 335 | cloud.google.com/datastore/reference/rest/v1/ReadOptions#ReadConsistency). | |
| 431 | cloud.google.com/datastore/reference/rest/v1/ReadOptions#ReadConsistency). | |
| 478 | cloud.google.com/datastore/docs/reference/rest/v1/projects/commit#Mutation). | |
| 485 | cloud.google.com/datastore/reference/rest/v1/projects/commit#response-body) | |
| 541 | cloud.google.com/datastore/docs/concepts/limits Limits | |
| 550 | cloud.google.com/datastore/docs/reference/rest/v1/projects/commit#Mutation). | |
| 559 | If the given element is an EntityInterface, it will use that baseVersion. | |
| 625 | cloud.google.com/datastore/reference/rest/v1/EntityResult EntityResult | |
| 697 | cloud.google.com/datastore/reference/rest/v1/ReadOptions#ReadConsistency). |
GqlQuery.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 26 | cloud.google.com/datastore/docs/apis/gql/gql_reference). | |
| 50 | ||
| 55 | Positional binding is also supported | |
| 64 | While not recommended, you can use literals in your query string: | |
| 70 | cloud.google.com/datastore/docs/apis/gql/gql_reference GQL Reference | |
| 186 | @codingStandardsIgnoreStart | |
| 188 | @codingStandardsIgnoreEnd |
Query.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 26 | cloud.google.com/datastore/docs/concepts/queries) | |
| 29 | cloud.google.com/datastore/reference/rest/v1/projects/runQuery#query) | |
| 44 | ||
| 49 | Queries can also be constructed using a | |
| 50 | [Query Object](https://cloud.google.com/datastore/reference/rest/v1/projects/runQuery#query): | |
| 73 | cloud.google.com/datastore/reference/rest/v1/projects/runQuery#query Query Object Reference | |
| 74 | cloud.google.com/datastore/docs/concepts/queries Datastore Queries | |
| 136 | cloud.google.com/datastore/reference/rest/v1/projects/runQuery#query) | |
| 238 | cloud.google.com/datastore/reference/rest/v1/projects/runQuery#operator_1 Allowed Operators | |
| 243 | cloud.google.com/datastore/reference/rest/v1/projects/runQuery#operator_1). | |
| 281 | Specifying an identifier type | |
| 306 | cloud.google.com/datastore/reference/rest/v1/projects/runQuery#Direction Allowed Directions | |
| 362 | cloud.google.com/datastore/docs/concepts/queries#cursors_limits_and_offsets Cursors, Limits and Offsets | |
| 384 | cloud.google.com/datastore/docs/concepts/queries#cursors_limits_and_offsets Cursors, Limits and Offsets | |
| 406 | cloud.google.com/datastore/docs/concepts/queries#cursors_limits_and_offsets Cursors, Limits and Offsets | |
| 428 | cloud.google.com/datastore/docs/concepts/queries#cursors_limits_and_offsets Cursors, Limits and Offsets |
QueryInterface.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 25 | cloud.google.com/datastore/docs/concepts/queries Datastore Queries | |
| 32 | cloud.google.com/datastore/reference/rest/v1/projects/runQuery#http-request HTTP Request | |
| 41 | cloud.google.com/datastore/reference/rest/v1/projects/runQuery#request-body Request Body |
ReadOnlyTransaction.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 44 | Read-Only Transactions should be rolled back when they are no longer needed. | |
| 51 | cloud.google.com/datastore/docs/concepts/transactions Transactions |
Transaction.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 29 | cloud.google.com/datastore/docs/concepts/transactions) | |
| 54 | cloud.google.com/datastore/docs/concepts/transactions Transactions | |
| 346 | cloud.google.com/datastore/docs/reference/rest/v1/projects/commit Commit API documentation | |
| 349 | cloud.google.com/datastore/reference/rest/v1/projects/commit#response-body) |
TransactionTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 68 | 'Bob' |
Agent.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 145 | skip starting the Agent unless the Daemon has already started and | |
| 146 | registered the debuggee. | |
| 171 | Sometimes, when the debuggee is re-registered, empty | |
| 172 | breakpoint(s) without a location may be present. In that case, | |
| 173 | skip the breakpoint. | |
| 272 | Ignore this error for now |
AliasContext.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 33 | cloud.google.com/debugger/api/reference/rest/v2/Debuggee#aliascontext AliasContext model documentation |
Breakpoint.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 42 | cloud.google.com/debugger/api/reference/rest/v2/debugger.debuggees.breakpoints#Breakpoint Breakpoint model documentation | |
| 719 | Ensure the file exists and is readable | |
| 729 | Ensure the file is a php file | |
| 743 | Ensure the line exists and is not empty | |
| 753 | Check that the line is not a comment |
BreakpointStorageInterface.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
FileBreakpointStorage.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 66 | Acquire an exclusive write lock (blocking). There should only be a | |
| 67 | single Daemon that can call this. | |
| 73 | Do nothing | |
| 89 | Acquire a read lock (non-blocking). If we fail (file is locked | |
| 90 | for writing), then we return an empty list of breakpoints and | |
| 91 | skip debugging for this request. | |
| 102 | Do nothing |
SysvBreakpointStorage.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 25 | php.net/manual/en/ref.sem.php). |
BufferFullException.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
CliDaemon.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 62 | Load the config file. The config file should return a configured | |
| 63 | Daemon instance. | |
| 83 | If the Daemon would be started by the BatchRunner, then don't run it here. |
CloudRepoSourceContext.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 42 | cloud.google.com/debugger/api/reference/rest/v2/Debuggee#cloudreposourcecontext CloudRepoSourceContext model documentation |
CloudWorkspaceId.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 41 | cloud.google.com/debugger/api/reference/rest/v2/Debuggee#cloudworkspaceid CloudWorkspaceId model documentation |
CloudWorkspaceSourceContext.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 41 | cloud.google.com/debugger/api/reference/rest/v2/Debuggee#cloudworkspacesourcecontext CloudWorkspaceSourceContext model documentation |
ConnectionInterface.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 25 | cloud.google.com/debugger). |
Grpc.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 31 | cloud.google.com/debugger/docs/). |
Rest.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 27 | cloud.google.com/debugger/docs/reference/rest/). | |
| 33 | clouddebugger.googleapis.com/'; |
Daemon.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 190 | If registration with backoff fails, then propagate the exception. | |
| 204 | The hanging GET call returns a 409 (Conflict) response | |
| 205 | when the request times out with a status of 'ABORTED'. | |
| 206 | In this case, we'll fetch again with the same waitToken. | |
| 211 | For any other ServiceExceptions, re-register and start over. | |
| 222 | validate breakpoint condition and/or expressions |
Debuggee.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 34 | cloud.google.com/debugger/api/reference/rest/v2/Debuggee Debuggee API Documentation | |
| 191 | cloud.google.com/debugger/api/reference/rest/v2/controller.debuggees/register Debuggee register API documentation. | |
| 216 | cloud.google.com/debugger/api/reference/rest/v2/controller.debuggees.breakpoints/list Breakpoints list API documentation. | |
| 248 | cloud.google.com/debugger/api/reference/rest/v2/controller.debuggees.breakpoints/list Breakpoints list API documentation. | |
| 284 | cloud.google.com/debugger/api/reference/rest/v2/controller.debuggees.breakpoints/update Breakpoint update API documentation. | |
| 312 | cloud.google.com/debugger/api/reference/rest/v2/debugger.debuggees.breakpoints/set Breakpoint set API documentation. | |
| 344 | cloud.google.com/debugger/api/reference/rest/v2/controller.debuggees.breakpoints/update Breakpoint update API documentation. |
DebuggerClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 29 | cloud.google.com/debugger/docs/). | |
| 44 | www.googleapis.com/auth/cloud-platform'; | |
| 45 | www.googleapis.com/auth/debugger.readonly'; |
ExtendedSourceContext.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 34 | cloud.google.com/debugger/api/reference/rest/v2/Debuggee#extendedsourcecontext ExtendedSourceContext model documentation |
FormatMessage.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 31 | cloud.google.com/debugger/api/reference/rest/v2/debugger.debuggees.breakpoints#formatmessage FormatMessage model documentation |
GerritSourceContext.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 37 | cloud.google.com/debugger/api/reference/rest/v2/Debuggee#gerritsourcecontext GerritSourceContext model documentation |
GitSourceContext.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 35 | cloud.google.com/debugger/api/reference/rest/v2/Debuggee#gitsourcecontext GitSourceContext model documentation |
MatchingFileIterator.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 69 | Check that the candidate file (a full file path) ends in the pattern we are searching for. |
ProjectRepoId.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 35 | cloud.google.com/debugger/api/reference/rest/v2/Debuggee#projectrepoid ProjectRepoId model documentation |
RepoId.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 35 | cloud.google.com/debugger/api/reference/rest/v2/Debuggee#repoid RepoId model documentation |
SourceContext.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
SourceLocation.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 31 | cloud.google.com/debugger/api/reference/rest/v2/debugger.debuggees.breakpoints#sourcelocation SourceLocation model documentation |
SourceLocationResolver.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 97 | Phase 1: search for an exact file match and try stripping off extra | |
| 98 | folders | |
| 108 | Phase 2: recursively search folders for a matching file |
StackFrame.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 33 | cloud.google.com/debugger/api/reference/rest/v2/debugger.debuggees.breakpoints#stackframe StackFrame model documentation |
StatusMessage.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 38 | cloud.google.com/debugger/api/reference/rest/v2/debugger.debuggees.breakpoints#statusmessage StatusMessage model documentation |
Action.php
| Type | Line | Description |
|---|---|---|
| 32 | Adding a class alias for backwards compatibility with the previous class name. |
LogLevel.php
| Type | Line | Description |
|---|---|---|
| 34 | Adding a class alias for backwards compatibility with the previous class name. |
Controller2Client.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/devtools/clouddebugger/v2/controller.proto | |
| 36 | This class is intentionally empty, and is intended to hold manual | |
| 37 | additions to the generated {@see Controller2GapicClient} class. |
Controller2GrpcClient.php
| Type | Line | Description |
|---|---|---|
| 2 | GENERATED CODE -- DO NOT EDIT! | |
| 4 | Original file comments: | |
| 5 | Copyright 2018 Google LLC. | |
| 7 | // Licensed under the Apache License, Version 2.0 (the "License"); | |
| 8 | you may not use this file except in compliance with the License. | |
| 9 | You may obtain a copy of the License at | |
| 11 | // http://www.apache.org/licenses/LICENSE-2.0 | |
| 13 | // Unless required by applicable law or agreed to in writing, software | |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, | |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 16 | See the License for the specific language governing permissions and | |
| 17 | limitations under the License. | |
| 19 | // |
Debugger2Client.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/devtools/clouddebugger/v2/debugger.proto | |
| 36 | This class is intentionally empty, and is intended to hold manual | |
| 37 | additions to the generated {@see Debugger2GapicClient} class. |
Debugger2GrpcClient.php
| Type | Line | Description |
|---|---|---|
| 2 | GENERATED CODE -- DO NOT EDIT! | |
| 4 | Original file comments: | |
| 5 | Copyright 2018 Google LLC. | |
| 7 | // Licensed under the Apache License, Version 2.0 (the "License"); | |
| 8 | you may not use this file except in compliance with the License. | |
| 9 | You may obtain a copy of the License at | |
| 11 | // http://www.apache.org/licenses/LICENSE-2.0 | |
| 13 | // Unless required by applicable law or agreed to in writing, software | |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, | |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 16 | See the License for the specific language governing permissions and | |
| 17 | limitations under the License. | |
| 19 | // |
Controller2GapicClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/devtools/clouddebugger/v2/controller.proto | |
| 110 | www.googleapis.com/auth/cloud-platform', | |
| 111 | www.googleapis.com/auth/cloud_debugger', |
Debugger2GapicClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/devtools/clouddebugger/v2/debugger.proto | |
| 108 | www.googleapis.com/auth/cloud-platform', | |
| 109 | www.googleapis.com/auth/cloud_debugger', |
BreakpointActionValue.php
| Type | Line | Description |
|---|---|---|
| 69 | Adding a class alias for backwards compatibility with the previous class name. |
Reference.php
| Type | Line | Description |
|---|---|---|
| 58 | Adding a class alias for backwards compatibility with the previous class name. |
Variable.php
| Type | Line | Description |
|---|---|---|
| 16 | Captured variable | |
| 23 | Captured variable | |
| 32 | Captured variable | |
| 41 | Captured variable | |
| 52 | Captured variable | |
| 60 | Captured variable | |
| 83 | Captured variables | |
| 86 | Shared variable table entry #3: |
Variable.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 31 | cloud.google.com/debugger/api/reference/rest/v2/debugger.debuggees.breakpoints#variable Variable model documentation |
VariableTable.php
| Type | Line | Description |
|---|---|---|
| 20 | 32KB | |
| 216 | If the variable already exists in the table (via object hash), then | |
| 217 | return a reference Variable to that VariableTable entry. | |
| 243 | If this variable has an object hash, then save it in the | |
| 244 | VariableTable and return a reference Variable to that entry. | |
| 255 | Deduct the size from the bytes remaining. | |
| 267 | Deduct the size from the bytes remaining. |
MatchMode.php
| Type | Line | Description |
|---|---|---|
| 36 | Adding a class alias for backwards compatibility with the previous class name. |
Agent.php
| Type | Line | Description |
|---|---|---|
| 33 | dialogflow.com/docs/reference/language) for a | |
| 49 | www.iana.org/time-zones), e.g., | |
| 65 | dialogflow.com/docs/integrations/web-demo) integration. | |
| 108 | dialogflow.com/docs/reference/language) for a | |
| 116 | www.iana.org/time-zones), e.g., | |
| 124 | dialogflow.com/docs/integrations/web-demo) integration. | |
| 200 | dialogflow.com/docs/reference/language) for a | |
| 214 | dialogflow.com/docs/reference/language) for a | |
| 260 | www.iana.org/time-zones), e.g., | |
| 273 | www.iana.org/time-zones), e.g., | |
| 319 | dialogflow.com/docs/integrations/web-demo) integration. | |
| 332 | dialogflow.com/docs/integrations/web-demo) integration. |
AgentsClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/cloud/dialogflow/v2/agent.proto | |
| 36 | This class is intentionally empty, and is intended to hold manual | |
| 37 | additions to the generated {@see AgentsGapicClient} class. |
AgentsGrpcClient.php
| Type | Line | Description |
|---|---|---|
| 2 | GENERATED CODE -- DO NOT EDIT! | |
| 4 | Original file comments: | |
| 5 | Copyright 2018 Google Inc. | |
| 7 | // Licensed under the Apache License, Version 2.0 (the "License"); | |
| 8 | you may not use this file except in compliance with the License. | |
| 9 | You may obtain a copy of the License at | |
| 11 | // http://www.apache.org/licenses/LICENSE-2.0 | |
| 13 | // Unless required by applicable law or agreed to in writing, software | |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, | |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 16 | See the License for the specific language governing permissions and | |
| 17 | limitations under the License. | |
| 19 | namespace Google\Cloud\Dialogflow\V2; | |
| 41 | dialogflow.com/docs/prebuilt-agents) for common | |
| 46 | dialogflow.com/docs/agents). | |
| 80 | cloud.google.com/apis/design/design_patterns#list_sub-collections). |
AudioEncoding.php
| Type | Line | Description |
|---|---|---|
| 29 | xiph.org/flac/documentation.html) (Free Lossless Audio | |
| 58 | wiki.xiph.org/OggOpus)). | |
| 67 | speex.org/) encoding supported by | |
| 71 | tools.ietf.org/html/rfc5574). |
BatchCreateEntitiesRequest.php
| Type | Line | Description |
|---|---|---|
| 35 | dialogflow.com/docs/reference/language) are supported. | |
| 57 | dialogflow.com/docs/reference/language) are supported. | |
| 124 | dialogflow.com/docs/reference/language) are supported. | |
| 139 | dialogflow.com/docs/reference/language) are supported. |
BatchDeleteEntitiesRequest.php
| Type | Line | Description |
|---|---|---|
| 37 | dialogflow.com/docs/reference/language) are supported. | |
| 61 | dialogflow.com/docs/reference/language) are supported. | |
| 132 | dialogflow.com/docs/reference/language) are supported. | |
| 147 | dialogflow.com/docs/reference/language) are supported. |
BatchUpdateEntitiesRequest.php
| Type | Line | Description |
|---|---|---|
| 35 | dialogflow.com/docs/reference/language) are supported. | |
| 63 | dialogflow.com/docs/reference/language) are supported. | |
| 132 | dialogflow.com/docs/reference/language) are supported. | |
| 147 | dialogflow.com/docs/reference/language) are supported. |
BatchUpdateEntityTypesRequest.php
| Type | Line | Description |
|---|---|---|
| 29 | dialogflow.com/docs/reference/language) are supported. | |
| 56 | ". | |
| 63 | dialogflow.com/docs/reference/language) are supported. | |
| 106 | ". | |
| 120 | ". | |
| 164 | dialogflow.com/docs/reference/language) are supported. | |
| 179 | dialogflow.com/docs/reference/language) are supported. |
BatchUpdateIntentsRequest.php
| Type | Line | Description |
|---|---|---|
| 29 | dialogflow.com/docs/reference/language) are supported. | |
| 61 | ". | |
| 68 | dialogflow.com/docs/reference/language) are supported. | |
| 112 | ". | |
| 125 | ". | |
| 169 | dialogflow.com/docs/reference/language) are supported. | |
| 184 | dialogflow.com/docs/reference/language) are supported. |
Context.php
| Type | Line | Description |
|---|---|---|
| 36 | dialogflow.com/docs/actions-and-parameters) for | |
| 59 | dialogflow.com/docs/actions-and-parameters) for | |
| 130 | dialogflow.com/docs/actions-and-parameters) for | |
| 143 | dialogflow.com/docs/actions-and-parameters) for |
ContextsClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/cloud/dialogflow/v2/context.proto | |
| 36 | This class is intentionally empty, and is intended to hold manual | |
| 37 | additions to the generated {@see ContextsGapicClient} class. |
ContextsGrpcClient.php
| Type | Line | Description |
|---|---|---|
| 2 | GENERATED CODE -- DO NOT EDIT! | |
| 4 | Original file comments: | |
| 5 | Copyright 2018 Google Inc. | |
| 7 | // Licensed under the Apache License, Version 2.0 (the "License"); | |
| 8 | you may not use this file except in compliance with the License. | |
| 9 | You may obtain a copy of the License at | |
| 11 | // http://www.apache.org/licenses/LICENSE-2.0 | |
| 13 | // Unless required by applicable law or agreed to in writing, software | |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, | |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 16 | See the License for the specific language governing permissions and | |
| 17 | limitations under the License. | |
| 19 | namespace Google\Cloud\Dialogflow\V2; | |
| 38 | dialogflow.com/docs/contexts). |
CreateEntityTypeRequest.php
| Type | Line | Description |
|---|---|---|
| 35 | dialogflow.com/docs/reference/language) are supported. | |
| 57 | dialogflow.com/docs/reference/language) are supported. | |
| 124 | dialogflow.com/docs/reference/language) are supported. | |
| 139 | dialogflow.com/docs/reference/language) are supported. |
CreateIntentRequest.php
| Type | Line | Description |
|---|---|---|
| 35 | dialogflow.com/docs/reference/language) are supported. | |
| 63 | dialogflow.com/docs/reference/language) are supported. | |
| 132 | dialogflow.com/docs/reference/language) are supported. | |
| 147 | dialogflow.com/docs/reference/language) are supported. |
AutoExpansionMode.php
| Type | Line | Description |
|---|---|---|
| 31 | Adding a class alias for backwards compatibility with the previous class name. |
Entity.php
| Type | Line | Description |
|---|---|---|
| 126 | Adding a class alias for backwards compatibility with the previous class name. |
Kind.php
| Type | Line | Description |
|---|---|---|
| 37 | Adding a class alias for backwards compatibility with the previous class name. |
EntityTypesClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/cloud/dialogflow/v2/entity_type.proto | |
| 36 | This class is intentionally empty, and is intended to hold manual | |
| 37 | additions to the generated {@see EntityTypesGapicClient} class. |
EntityTypesGrpcClient.php
| Type | Line | Description |
|---|---|---|
| 2 | GENERATED CODE -- DO NOT EDIT! | |
| 4 | Original file comments: | |
| 5 | Copyright 2018 Google Inc. | |
| 7 | // Licensed under the Apache License, Version 2.0 (the "License"); | |
| 8 | you may not use this file except in compliance with the License. | |
| 9 | You may obtain a copy of the License at | |
| 11 | // http://www.apache.org/licenses/LICENSE-2.0 | |
| 13 | // Unless required by applicable law or agreed to in writing, software | |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, | |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 16 | See the License for the specific language governing permissions and | |
| 17 | limitations under the License. | |
| 19 | namespace Google\Cloud\Dialogflow\V2; | |
| 48 | dialogflow.com/docs/entities). |
EventInput.php
| Type | Line | Description |
|---|---|---|
| 36 | dialogflow.com/docs/languages) for a list of the | |
| 56 | dialogflow.com/docs/languages) for a list of the | |
| 120 | dialogflow.com/docs/languages) for a list of the | |
| 134 | dialogflow.com/docs/languages) for a list of the |
ExportAgentRequest.php
| Type | Line | Description |
|---|---|---|
| 28 | ". If left unspecified, the serialized agent is returned inline. | |
| 46 | ". If left unspecified, the serialized agent is returned inline. | |
| 85 | ". If left unspecified, the serialized agent is returned inline. | |
| 98 | ". If left unspecified, the serialized agent is returned inline. |
ExportAgentResponse.php
| Type | Line | Description |
|---|---|---|
| 33 | dialogflow.googleapis.com/v2/projects/<project_name>/agent:export'\ | |
| 81 | dialogflow.googleapis.com/v2/projects/<project_name>/agent:export'\ | |
| 103 | dialogflow.googleapis.com/v2/projects/<project_name>/agent:export'\ |
AgentsGapicClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/cloud/dialogflow/v2/agent.proto | |
| 64 | cloud.google.com/dialogflow-enterprise/docs/editions). | |
| 71 | dialogflow.com/docs/prebuilt-agents) for common | |
| 76 | dialogflow.com/docs/agents). | |
| 126 | www.googleapis.com/auth/cloud-platform', | |
| 223 | Swallow the exception to continue trying other path templates | |
| 374 | cloud.google.com/apis/design/design_patterns#list_sub-collections). | |
| 381 | Iterate over pages of elements | |
| 385 | doSomethingWith($element); | |
| 390 | Alternatively: | |
| 392 | Iterate through all elements | |
| 395 | doSomethingWith($element); | |
| 461 | operation succeeded and returns no value | |
| 464 | handleError($error) | |
| 468 | Alternatively: | |
| 470 | start the operation, keep the operation name, and resume later | |
| 473 | ... do other work | |
| 476 | ... do other work | |
| 480 | operation succeeded and returns no value | |
| 483 | handleError($error) | |
| 535 | doSomethingWith($result) | |
| 538 | handleError($error) | |
| 542 | Alternatively: | |
| 544 | start the operation, keep the operation name, and resume later | |
| 547 | ... do other work | |
| 550 | ... do other work | |
| 555 | doSomethingWith($result) | |
| 558 | handleError($error) | |
| 573 | ". If left unspecified, the serialized agent is returned inline. | |
| 620 | operation succeeded and returns no value | |
| 623 | handleError($error) | |
| 627 | Alternatively: | |
| 629 | start the operation, keep the operation name, and resume later | |
| 632 | ... do other work | |
| 635 | ... do other work | |
| 639 | operation succeeded and returns no value | |
| 642 | handleError($error) | |
| 656 | ". | |
| 663 | dialogflow.googleapis.com/v2/projects/<project_name>/agent:import\ | |
| 720 | operation succeeded and returns no value | |
| 723 | handleError($error) | |
| 727 | Alternatively: | |
| 729 | start the operation, keep the operation name, and resume later | |
| 732 | ... do other work | |
| 735 | ... do other work | |
| 739 | operation succeeded and returns no value | |
| 742 | handleError($error) | |
| 756 | ". | |
| 763 | dialogflow.googleapis.com/v2/projects/<project_name>/agent:restore\ |
ContextsGapicClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/cloud/dialogflow/v2/context.proto | |
| 65 | dialogflow.com/docs/contexts). | |
| 74 | Iterate over pages of elements | |
| 78 | doSomethingWith($element); | |
| 83 | Alternatively: | |
| 85 | Iterate through all elements | |
| 88 | doSomethingWith($element); | |
| 130 | www.googleapis.com/auth/cloud-platform', | |
| 259 | Swallow the exception to continue trying other path templates | |
| 331 | Iterate over pages of elements | |
| 335 | doSomethingWith($element); | |
| 340 | Alternatively: | |
| 342 | Iterate through all elements | |
| 345 | doSomethingWith($element); |
EntityTypesGapicClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/cloud/dialogflow/v2/entity_type.proto | |
| 86 | dialogflow.com/docs/entities). | |
| 95 | Iterate over pages of elements | |
| 99 | doSomethingWith($element); | |
| 104 | Alternatively: | |
| 106 | Iterate through all elements | |
| 109 | doSomethingWith($element); | |
| 151 | www.googleapis.com/auth/cloud-platform', | |
| 278 | Swallow the exception to continue trying other path templates | |
| 386 | Iterate over pages of elements | |
| 390 | doSomethingWith($element); | |
| 395 | Alternatively: | |
| 397 | Iterate through all elements | |
| 400 | doSomethingWith($element); | |
| 416 | dialogflow.com/docs/reference/language) are supported. | |
| 484 | dialogflow.com/docs/reference/language) are supported. | |
| 539 | dialogflow.com/docs/reference/language) are supported. | |
| 593 | dialogflow.com/docs/reference/language) are supported. | |
| 685 | doSomethingWith($result) | |
| 688 | handleError($error) | |
| 692 | Alternatively: | |
| 694 | start the operation, keep the operation name, and resume later | |
| 697 | ... do other work | |
| 700 | ... do other work | |
| 705 | doSomethingWith($result) | |
| 708 | handleError($error) | |
| 724 | ". | |
| 731 | dialogflow.com/docs/reference/language) are supported. | |
| 787 | operation succeeded and returns no value | |
| 790 | handleError($error) | |
| 794 | Alternatively: | |
| 796 | start the operation, keep the operation name, and resume later | |
| 799 | ... do other work | |
| 802 | ... do other work | |
| 806 | operation succeeded and returns no value | |
| 809 | handleError($error) | |
| 864 | operation succeeded and returns no value | |
| 867 | handleError($error) | |
| 871 | Alternatively: | |
| 873 | start the operation, keep the operation name, and resume later | |
| 876 | ... do other work | |
| 879 | ... do other work | |
| 883 | operation succeeded and returns no value | |
| 886 | handleError($error) | |
| 903 | dialogflow.com/docs/reference/language) are supported. | |
| 950 | operation succeeded and returns no value | |
| 953 | handleError($error) | |
| 957 | Alternatively: | |
| 959 | start the operation, keep the operation name, and resume later | |
| 962 | ... do other work | |
| 965 | ... do other work | |
| 969 | operation succeeded and returns no value | |
| 972 | handleError($error) | |
| 989 | dialogflow.com/docs/reference/language) are supported. | |
| 1040 | operation succeeded and returns no value | |
| 1043 | handleError($error) | |
| 1047 | Alternatively: | |
| 1049 | start the operation, keep the operation name, and resume later | |
| 1052 | ... do other work | |
| 1055 | ... do other work | |
| 1059 | operation succeeded and returns no value | |
| 1062 | handleError($error) | |
| 1081 | dialogflow.com/docs/reference/language) are supported. |
IntentsGapicClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/cloud/dialogflow/v2/intent.proto | |
| 86 | dialogflow.com/docs/intents). | |
| 95 | Iterate over pages of elements | |
| 99 | doSomethingWith($element); | |
| 104 | Alternatively: | |
| 106 | Iterate through all elements | |
| 109 | doSomethingWith($element); | |
| 151 | www.googleapis.com/auth/cloud-platform', | |
| 308 | Swallow the exception to continue trying other path templates | |
| 416 | Iterate over pages of elements | |
| 420 | doSomethingWith($element); | |
| 425 | Alternatively: | |
| 427 | Iterate through all elements | |
| 430 | doSomethingWith($element); | |
| 446 | dialogflow.com/docs/reference/language) are supported. | |
| 520 | dialogflow.com/docs/reference/language) are supported. | |
| 581 | dialogflow.com/docs/reference/language) are supported. | |
| 638 | dialogflow.com/docs/reference/language) are supported. | |
| 737 | doSomethingWith($result) | |
| 740 | handleError($error) | |
| 744 | Alternatively: | |
| 746 | start the operation, keep the operation name, and resume later | |
| 749 | ... do other work | |
| 752 | ... do other work | |
| 757 | doSomethingWith($result) | |
| 760 | handleError($error) | |
| 772 | dialogflow.com/docs/reference/language) are supported. | |
| 780 | ". | |
| 840 | operation succeeded and returns no value | |
| 843 | handleError($error) | |
| 847 | Alternatively: | |
| 849 | start the operation, keep the operation name, and resume later | |
| 852 | ... do other work | |
| 855 | ... do other work | |
| 859 | operation succeeded and returns no value | |
| 862 | handleError($error) |
SessionEntityTypesGapicClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/cloud/dialogflow/v2/session_entity_type.proto | |
| 59 | dialogflow.com/docs/entities). | |
| 68 | Iterate over pages of elements | |
| 72 | doSomethingWith($element); | |
| 77 | Alternatively: | |
| 79 | Iterate through all elements | |
| 82 | doSomethingWith($element); | |
| 124 | www.googleapis.com/auth/cloud-platform', | |
| 253 | Swallow the exception to continue trying other path templates | |
| 325 | Iterate over pages of elements | |
| 329 | doSomethingWith($element); | |
| 334 | Alternatively: | |
| 336 | Iterate through all elements | |
| 339 | doSomethingWith($element); |
SessionsGapicClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/cloud/dialogflow/v2/session.proto | |
| 100 | www.googleapis.com/auth/cloud-platform', | |
| 197 | Swallow the exception to continue trying other path templates | |
| 347 | Write all requests to the server, then read all responses until the | |
| 348 | stream is complete | |
| 353 | doSomethingWith($element); | |
| 357 | Alternatively: | |
| 359 | Write requests individually, making read() calls if | |
| 360 | required. Call closeWrite() once writes are complete, and read the | |
| 361 | remaining responses from the server. | |
| 366 | if required, read a single response from the stream | |
| 368 | doSomethingWith($element) | |
| 373 | doSomethingWith($element) |
GetEntityTypeRequest.php
| Type | Line | Description |
|---|---|---|
| 29 | dialogflow.com/docs/reference/language) are supported. | |
| 49 | dialogflow.com/docs/reference/language) are supported. | |
| 90 | dialogflow.com/docs/reference/language) are supported. | |
| 105 | dialogflow.com/docs/reference/language) are supported. |
GetIntentRequest.php
| Type | Line | Description |
|---|---|---|
| 29 | dialogflow.com/docs/reference/language) are supported. | |
| 55 | dialogflow.com/docs/reference/language) are supported. | |
| 98 | dialogflow.com/docs/reference/language) are supported. | |
| 113 | dialogflow.com/docs/reference/language) are supported. |
ImportAgentRequest.php
| Type | Line | Description |
|---|---|---|
| 38 | ". | |
| 43 | dialogflow.googleapis.com/v2/projects/<project_name>/agent:import\ | |
| 89 | ". | |
| 101 | ". | |
| 119 | dialogflow.googleapis.com/v2/projects/<project_name>/agent:import\ | |
| 141 | dialogflow.googleapis.com/v2/projects/<project_name>/agent:import\ |
InputAudioConfig.php
| Type | Line | Description |
|---|---|---|
| 35 | dialogflow.com/docs/languages) for a list of the | |
| 67 | dialogflow.com/docs/languages) for a list of the | |
| 141 | dialogflow.com/docs/languages) for a list of the | |
| 156 | dialogflow.com/docs/languages) for a list of the |
FollowupIntentInfo.php
| Type | Line | Description |
|---|---|---|
| 110 | Adding a class alias for backwards compatibility with the previous class name. |
OpenUriAction.php
| Type | Line | Description |
|---|---|---|
| 68 | Adding a class alias for backwards compatibility with the previous class name. |
Button.php
| Type | Line | Description |
|---|---|---|
| 102 | Adding a class alias for backwards compatibility with the previous class name. |
BasicCard.php
| Type | Line | Description |
|---|---|---|
| 204 | Adding a class alias for backwards compatibility with the previous class name. |
Button.php
| Type | Line | Description |
|---|---|---|
| 106 | Adding a class alias for backwards compatibility with the previous class name. |
Card.php
| Type | Line | Description |
|---|---|---|
| 170 | Adding a class alias for backwards compatibility with the previous class name. |
Item.php
| Type | Line | Description |
|---|---|---|
| 170 | Adding a class alias for backwards compatibility with the previous class name. |
CarouselSelect.php
| Type | Line | Description |
|---|---|---|
| 68 | Adding a class alias for backwards compatibility with the previous class name. |
Image.php
| Type | Line | Description |
|---|---|---|
| 106 | Adding a class alias for backwards compatibility with the previous class name. |
LinkOutSuggestion.php
| Type | Line | Description |
|---|---|---|
| 107 | Adding a class alias for backwards compatibility with the previous class name. |
Item.php
| Type | Line | Description |
|---|---|---|
| 170 | Adding a class alias for backwards compatibility with the previous class name. |
ListSelect.php
| Type | Line | Description |
|---|---|---|
| 102 | Adding a class alias for backwards compatibility with the previous class name. |
Platform.php
| Type | Line | Description |
|---|---|---|
| 72 | developers.google.com/actions/dialogflow/webhook) | |
| 130 | Adding a class alias for backwards compatibility with the previous class name. |
QuickReplies.php
| Type | Line | Description |
|---|---|---|
| 102 | Adding a class alias for backwards compatibility with the previous class name. |
SelectItemInfo.php
| Type | Line | Description |
|---|---|---|
| 111 | Adding a class alias for backwards compatibility with the previous class name. |
SimpleResponse.php
| Type | Line | Description |
|---|---|---|
| 148 | Adding a class alias for backwards compatibility with the previous class name. |
SimpleResponses.php
| Type | Line | Description |
|---|---|---|
| 71 | Adding a class alias for backwards compatibility with the previous class name. |
Suggestion.php
| Type | Line | Description |
|---|---|---|
| 69 | Adding a class alias for backwards compatibility with the previous class name. |
Suggestions.php
| Type | Line | Description |
|---|---|---|
| 68 | Adding a class alias for backwards compatibility with the previous class name. |
Text.php
| Type | Line | Description |
|---|---|---|
| 68 | Adding a class alias for backwards compatibility with the previous class name. |
Message.php
| Type | Line | Description |
|---|---|---|
| 391 | Adding a class alias for backwards compatibility with the previous class name. |
Parameter.php
| Type | Line | Description |
|---|---|---|
| 358 | Adding a class alias for backwards compatibility with the previous class name. |
Part.php
| Type | Line | Description |
|---|---|---|
| 194 | Adding a class alias for backwards compatibility with the previous class name. |
Type.php
| Type | Line | Description |
|---|---|---|
| 36 | Adding a class alias for backwards compatibility with the previous class name. |
TrainingPhrase.php
| Type | Line | Description |
|---|---|---|
| 186 | Adding a class alias for backwards compatibility with the previous class name. |
WebhookState.php
| Type | Line | Description |
|---|---|---|
| 35 | Adding a class alias for backwards compatibility with the previous class name. |
IntentsClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/cloud/dialogflow/v2/intent.proto | |
| 36 | This class is intentionally empty, and is intended to hold manual | |
| 37 | additions to the generated {@see IntentsGapicClient} class. |
IntentsGrpcClient.php
| Type | Line | Description |
|---|---|---|
| 2 | GENERATED CODE -- DO NOT EDIT! | |
| 4 | Original file comments: | |
| 5 | Copyright 2018 Google Inc. | |
| 7 | // Licensed under the Apache License, Version 2.0 (the "License"); | |
| 8 | you may not use this file except in compliance with the License. | |
| 9 | You may obtain a copy of the License at | |
| 11 | // http://www.apache.org/licenses/LICENSE-2.0 | |
| 13 | // Unless required by applicable law or agreed to in writing, software | |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, | |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 16 | See the License for the specific language governing permissions and | |
| 17 | limitations under the License. | |
| 19 | namespace Google\Cloud\Dialogflow\V2; | |
| 52 | dialogflow.com/docs/intents). |
ListEntityTypesRequest.php
| Type | Line | Description |
|---|---|---|
| 29 | dialogflow.com/docs/reference/language) are supported. | |
| 62 | dialogflow.com/docs/reference/language) are supported. | |
| 108 | dialogflow.com/docs/reference/language) are supported. | |
| 123 | dialogflow.com/docs/reference/language) are supported. |
ListIntentsRequest.php
| Type | Line | Description |
|---|---|---|
| 29 | dialogflow.com/docs/reference/language) are supported. | |
| 68 | dialogflow.com/docs/reference/language) are supported. | |
| 116 | dialogflow.com/docs/reference/language) are supported. | |
| 131 | dialogflow.com/docs/reference/language) are supported. |
QueryParameters.php
| Type | Line | Description |
|---|---|---|
| 20 | www.iana.org/time-zones), e.g., | |
| 71 | www.iana.org/time-zones), e.g., | |
| 98 | www.iana.org/time-zones), e.g., | |
| 112 | www.iana.org/time-zones), e.g., |
QueryResult.php
| Type | Line | Description |
|---|---|---|
| 32 | dialogflow.com/docs/reference/language) | |
| 147 | dialogflow.com/docs/reference/language) | |
| 240 | dialogflow.com/docs/reference/language) | |
| 253 | dialogflow.com/docs/reference/language) |
RestoreAgentRequest.php
| Type | Line | Description |
|---|---|---|
| 38 | ". | |
| 43 | dialogflow.googleapis.com/v2/projects/<project_name>/agent:restore\ | |
| 89 | ". | |
| 101 | ". | |
| 119 | dialogflow.googleapis.com/v2/projects/<project_name>/agent:restore\ | |
| 141 | dialogflow.googleapis.com/v2/projects/<project_name>/agent:restore\ |
EntityOverrideMode.php
| Type | Line | Description |
|---|---|---|
| 40 | Adding a class alias for backwards compatibility with the previous class name. |
SessionEntityTypesClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/cloud/dialogflow/v2/session_entity_type.proto | |
| 36 | This class is intentionally empty, and is intended to hold manual | |
| 37 | additions to the generated {@see SessionEntityTypesGapicClient} class. |
SessionEntityTypesGrpcClient.php
| Type | Line | Description |
|---|---|---|
| 2 | GENERATED CODE -- DO NOT EDIT! | |
| 4 | Original file comments: | |
| 5 | Copyright 2018 Google Inc. | |
| 7 | // Licensed under the Apache License, Version 2.0 (the "License"); | |
| 8 | you may not use this file except in compliance with the License. | |
| 9 | You may obtain a copy of the License at | |
| 11 | // http://www.apache.org/licenses/LICENSE-2.0 | |
| 13 | // Unless required by applicable law or agreed to in writing, software | |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, | |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 16 | See the License for the specific language governing permissions and | |
| 17 | limitations under the License. | |
| 19 | namespace Google\Cloud\Dialogflow\V2; | |
| 33 | dialogflow.com/docs/entities). |
SessionsClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/cloud/dialogflow/v2/session.proto | |
| 36 | This class is intentionally empty, and is intended to hold manual | |
| 37 | additions to the generated {@see SessionsGapicClient} class. |
SessionsGrpcClient.php
| Type | Line | Description |
|---|---|---|
| 2 | GENERATED CODE -- DO NOT EDIT! | |
| 4 | Original file comments: | |
| 5 | Copyright 2018 Google Inc. | |
| 7 | // Licensed under the Apache License, Version 2.0 (the "License"); | |
| 8 | you may not use this file except in compliance with the License. | |
| 9 | You may obtain a copy of the License at | |
| 11 | // http://www.apache.org/licenses/LICENSE-2.0 | |
| 13 | // Unless required by applicable law or agreed to in writing, software | |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, | |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 16 | See the License for the specific language governing permissions and | |
| 17 | limitations under the License. | |
| 19 | namespace Google\Cloud\Dialogflow\V2; |
MessageType.php
| Type | Line | Description |
|---|---|---|
| 40 | Adding a class alias for backwards compatibility with the previous class name. |
TextInput.php
| Type | Line | Description |
|---|---|---|
| 27 | dialogflow.com/docs/languages) for a list of the | |
| 46 | dialogflow.com/docs/languages) for a list of the | |
| 86 | dialogflow.com/docs/languages) for a list of the | |
| 100 | dialogflow.com/docs/languages) for a list of the |
UpdateEntityTypeRequest.php
| Type | Line | Description |
|---|---|---|
| 29 | dialogflow.com/docs/reference/language) are supported. | |
| 55 | dialogflow.com/docs/reference/language) are supported. | |
| 98 | dialogflow.com/docs/reference/language) are supported. | |
| 113 | dialogflow.com/docs/reference/language) are supported. |
UpdateIntentRequest.php
| Type | Line | Description |
|---|---|---|
| 29 | dialogflow.com/docs/reference/language) are supported. | |
| 61 | dialogflow.com/docs/reference/language) are supported. | |
| 106 | dialogflow.com/docs/reference/language) are supported. | |
| 121 | dialogflow.com/docs/reference/language) are supported. |
WebhookResponse.php
| Type | Line | Description |
|---|---|---|
| 46 | developers.google.com/actions/dialogflow/webhook) | |
| 102 | developers.google.com/actions/dialogflow/webhook) | |
| 220 | developers.google.com/actions/dialogflow/webhook) | |
| 252 | developers.google.com/actions/dialogflow/webhook) |
PublishSummaryToCscc.php
| Type | Line | Description |
|---|---|---|
| 19 | cloud.google.com/terms/service-terms | |
| 43 | Adding a class alias for backwards compatibility with the previous class name. |
PublishToPubSub.php
| Type | Line | Description |
|---|---|---|
| 81 | Adding a class alias for backwards compatibility with the previous class name. |
SaveFindings.php
| Type | Line | Description |
|---|---|---|
| 64 | Adding a class alias for backwards compatibility with the previous class name. |
Action.php
| Type | Line | Description |
|---|---|---|
| 13 | cloud.google.com/dlp/docs/concepts-actions to learn more. |
CategoricalStatsHistogramBucket.php
| Type | Line | Description |
|---|---|---|
| 206 | Adding a class alias for backwards compatibility with the previous class name. |
CategoricalStatsResult.php
| Type | Line | Description |
|---|---|---|
| 68 | Adding a class alias for backwards compatibility with the previous class name. |
DeltaPresenceEstimationHistogramBucket.php
| Type | Line | Description |
|---|---|---|
| 216 | Adding a class alias for backwards compatibility with the previous class name. |
DeltaPresenceEstimationQuasiIdValues.php
| Type | Line | Description |
|---|---|---|
| 130 | Adding a class alias for backwards compatibility with the previous class name. |
DeltaPresenceEstimationResult.php
| Type | Line | Description |
|---|---|---|
| 97 | Adding a class alias for backwards compatibility with the previous class name. |
KAnonymityEquivalenceClass.php
| Type | Line | Description |
|---|---|---|
| 114 | Adding a class alias for backwards compatibility with the previous class name. |
KAnonymityHistogramBucket.php
| Type | Line | Description |
|---|---|---|
| 206 | Adding a class alias for backwards compatibility with the previous class name. |
KAnonymityResult.php
| Type | Line | Description |
|---|---|---|
| 68 | Adding a class alias for backwards compatibility with the previous class name. |
KMapEstimationHistogramBucket.php
| Type | Line | Description |
|---|---|---|
| 215 | Adding a class alias for backwards compatibility with the previous class name. |
KMapEstimationQuasiIdValues.php
| Type | Line | Description |
|---|---|---|
| 102 | Adding a class alias for backwards compatibility with the previous class name. |
KMapEstimationResult.php
| Type | Line | Description |
|---|---|---|
| 97 | Adding a class alias for backwards compatibility with the previous class name. |
LDiversityEquivalenceClass.php
| Type | Line | Description |
|---|---|---|
| 174 | Adding a class alias for backwards compatibility with the previous class name. |
LDiversityHistogramBucket.php
| Type | Line | Description |
|---|---|---|
| 214 | Adding a class alias for backwards compatibility with the previous class name. |
LDiversityResult.php
| Type | Line | Description |
|---|---|---|
| 68 | Adding a class alias for backwards compatibility with the previous class name. |
NumericalStatsResult.php
| Type | Line | Description |
|---|---|---|
| 140 | Adding a class alias for backwards compatibility with the previous class name. |
SampleMethod.php
| Type | Line | Description |
|---|---|---|
| 34 | Adding a class alias for backwards compatibility with the previous class name. |
Bucket.php
| Type | Line | Description |
|---|---|---|
| 144 | Adding a class alias for backwards compatibility with the previous class name. |
BucketingConfig.php
| Type | Line | Description |
|---|---|---|
| 20 | cloud.google.com/dlp/docs/concepts-bucketing to learn more. |
BytesType.php
| Type | Line | Description |
|---|---|---|
| 42 | Adding a class alias for backwards compatibility with the previous class name. |
CommonCharsToIgnore.php
| Type | Line | Description |
|---|---|---|
| 48 | Adding a class alias for backwards compatibility with the previous class name. |
CloudStorageFileSet.php
| Type | Line | Description |
|---|---|---|
| 19 | <bucket>/<path>`. Trailing wildcard in the | |
| 33 | <bucket>/<path>`. Trailing wildcard in the | |
| 43 | <bucket>/<path>`. Trailing wildcard in the | |
| 55 | <bucket>/<path>`. Trailing wildcard in the |
FileSet.php
| Type | Line | Description |
|---|---|---|
| 20 | <bucket>/<path>`. Trailing wildcard in the path is allowed. Exactly | |
| 42 | <bucket>/<path>`. Trailing wildcard in the path is allowed. Exactly | |
| 56 | <bucket>/<path>`. Trailing wildcard in the path is allowed. Exactly | |
| 69 | <bucket>/<path>`. Trailing wildcard in the path is allowed. Exactly | |
| 114 | Adding a class alias for backwards compatibility with the previous class name. |
SampleMethod.php
| Type | Line | Description |
|---|---|---|
| 35 | Adding a class alias for backwards compatibility with the previous class name. |
CloudStoragePath.php
| Type | Line | Description |
|---|---|---|
| 20 | [BUCKET_NAME]/dictionary.txt | |
| 34 | [BUCKET_NAME]/dictionary.txt | |
| 44 | [BUCKET_NAME]/dictionary.txt | |
| 56 | [BUCKET_NAME]/dictionary.txt |
CloudStorageRegexFileSet.php
| Type | Line | Description |
|---|---|---|
| 23 | mybucket/directory1/myfile` will be included | |
| 24 | mybucket/directory1/directory2/myfile` will be included (`.*` matches | |
| 26 | mybucket/directory0/directory1/myfile` will _not_ be included (the | |
| 28 | mybucket/directory1/excludedfile` will _not_ be included (the path | |
| 36 | mybucket/directory/`, without matching | |
| 56 | github.com/google/re2/wiki/Syntax); a guide can be found | |
| 67 | github.com/google/re2/wiki/Syntax); a guide can be found | |
| 89 | github.com/google/re2/wiki/Syntax); a guide can be found | |
| 96 | github.com/google/re2/wiki/Syntax); a guide can be found | |
| 138 | github.com/google/re2/wiki/Syntax); a guide can be found | |
| 156 | github.com/google/re2/wiki/Syntax); a guide can be found | |
| 176 | github.com/google/re2/wiki/Syntax); a guide can be found | |
| 192 | github.com/google/re2/wiki/Syntax); a guide can be found |
ContentItem.php
| Type | Line | Description |
|---|---|---|
| 30 | cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to | |
| 69 | cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to | |
| 82 | cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to |
ContentLocation.php
| Type | Line | Description |
|---|---|---|
| 23 | <bucket>/<path>` | |
| 60 | <bucket>/<path>` | |
| 90 | <bucket>/<path>` | |
| 108 | <bucket>/<path>` |
FfxCommonNativeAlphabet.php
| Type | Line | Description |
|---|---|---|
| 46 | Adding a class alias for backwards compatibility with the previous class name. |
CryptoReplaceFfxFpeConfig.php
| Type | Line | Description |
|---|---|---|
| 21 | cloud.google.com/dlp/docs/pseudonymization to learn more. |
HotwordRule.php
| Type | Line | Description |
|---|---|---|
| 165 | Adding a class alias for backwards compatibility with the previous class name. |
LikelihoodAdjustment.php
| Type | Line | Description |
|---|---|---|
| 121 | Adding a class alias for backwards compatibility with the previous class name. |
Proximity.php
| Type | Line | Description |
|---|---|---|
| 103 | Adding a class alias for backwards compatibility with the previous class name. |
DetectionRule.php
| Type | Line | Description |
|---|---|---|
| 73 | Adding a class alias for backwards compatibility with the previous class name. |
WordList.php
| Type | Line | Description |
|---|---|---|
| 76 | Adding a class alias for backwards compatibility with the previous class name. |
Dictionary.php
| Type | Line | Description |
|---|---|---|
| 17 | en.wikipedia.org/wiki/Plane_%28Unicode%29#Basic_Multilingual_Plane) | |
| 29 | cloud.google.com/dlp/limits) page contains details about | |
| 122 | Adding a class alias for backwards compatibility with the previous class name. |
ExclusionType.php
| Type | Line | Description |
|---|---|---|
| 27 | Adding a class alias for backwards compatibility with the previous class name. |
Regex.php
| Type | Line | Description |
|---|---|---|
| 20 | github.com/google/re2/wiki/Syntax) can be found under the | |
| 35 | github.com/google/re2/wiki/Syntax) can be found under the | |
| 46 | github.com/google/re2/wiki/Syntax) can be found under the | |
| 59 | github.com/google/re2/wiki/Syntax) can be found under the | |
| 76 | Adding a class alias for backwards compatibility with the previous class name. |
SurrogateType.php
| Type | Line | Description |
|---|---|---|
| 41 | Adding a class alias for backwards compatibility with the previous class name. |
DateShiftConfig.php
| Type | Line | Description |
|---|---|---|
| 13 | cloud.google.com/dlp/docs/concepts-date-shifting |
TimeZone.php
| Type | Line | Description |
|---|---|---|
| 70 | Adding a class alias for backwards compatibility with the previous class name. |
DeidentifyTemplate.php
| Type | Line | Description |
|---|---|---|
| 13 | cloud.google.com/dlp/docs/concepts-templates to learn more. | |
| 53 | /////////// // The core content of the template // /////////////// | |
| 79 | /////////// // The core content of the template // /////////////// | |
| 224 | /////////// // The core content of the template // /////////////// | |
| 235 | /////////// // The core content of the template // /////////////// |
JobState.php
| Type | Line | Description |
|---|---|---|
| 48 | Adding a class alias for backwards compatibility with the previous class name. |
DlpServiceClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/privacy/dlp/v2/dlp.proto | |
| 36 | This class is intentionally empty, and is intended to hold manual | |
| 37 | additions to the generated {@see DlpServiceGapicClient} class. |
DlpServiceGrpcClient.php
| Type | Line | Description |
|---|---|---|
| 2 | GENERATED CODE -- DO NOT EDIT! | |
| 4 | Original file comments: | |
| 5 | Copyright 2018 Google LLC. | |
| 7 | // Licensed under the Apache License, Version 2.0 (the "License"); | |
| 8 | you may not use this file except in compliance with the License. | |
| 9 | You may obtain a copy of the License at | |
| 11 | // http://www.apache.org/licenses/LICENSE-2.0 | |
| 13 | // Unless required by applicable law or agreed to in writing, software | |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, | |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 16 | See the License for the specific language governing permissions and | |
| 17 | limitations under the License. | |
| 19 | // | |
| 31 | cloud.google.com/dlp/docs/. | |
| 52 | cloud.google.com/dlp/docs/inspecting-images | |
| 53 | cloud.google.com/dlp/docs/inspecting-text, | |
| 69 | cloud.google.com/dlp/docs/redacting-sensitive-data-images to | |
| 90 | cloud.google.com/dlp/docs/deidentify-sensitive-data to | |
| 111 | cloud.google.com/dlp/docs/pseudonymization#re-identification_in_free_text_code_example | |
| 127 | cloud.google.com/dlp/docs/infotypes-reference to | |
| 144 | cloud.google.com/dlp/docs/creating-templates to learn more. | |
| 159 | cloud.google.com/dlp/docs/creating-templates to learn more. | |
| 174 | cloud.google.com/dlp/docs/creating-templates to learn more. | |
| 189 | cloud.google.com/dlp/docs/creating-templates to learn more. | |
| 204 | cloud.google.com/dlp/docs/creating-templates to learn more. | |
| 220 | cloud.google.com/dlp/docs/creating-templates-deid to learn | |
| 236 | cloud.google.com/dlp/docs/creating-templates-deid to learn | |
| 252 | cloud.google.com/dlp/docs/creating-templates-deid to learn | |
| 268 | cloud.google.com/dlp/docs/creating-templates-deid to learn | |
| 284 | cloud.google.com/dlp/docs/creating-templates-deid to learn | |
| 301 | cloud.google.com/dlp/docs/creating-job-triggers to learn more. | |
| 316 | cloud.google.com/dlp/docs/creating-job-triggers to learn more. | |
| 331 | cloud.google.com/dlp/docs/creating-job-triggers to learn more. | |
| 346 | cloud.google.com/dlp/docs/creating-job-triggers to learn more. | |
| 361 | cloud.google.com/dlp/docs/creating-job-triggers to learn more. | |
| 376 | cloud.google.com/dlp/docs/inspecting-storage and | |
| 377 | cloud.google.com/dlp/docs/compute-risk-analysis to learn more. | |
| 396 | cloud.google.com/dlp/docs/inspecting-storage and | |
| 397 | cloud.google.com/dlp/docs/compute-risk-analysis to learn more. | |
| 412 | cloud.google.com/dlp/docs/inspecting-storage and | |
| 413 | cloud.google.com/dlp/docs/compute-risk-analysis to learn more. | |
| 430 | cloud.google.com/dlp/docs/inspecting-storage and | |
| 431 | cloud.google.com/dlp/docs/compute-risk-analysis to learn more. | |
| 448 | cloud.google.com/dlp/docs/inspecting-storage and | |
| 449 | cloud.google.com/dlp/docs/compute-risk-analysis to learn more. | |
| 464 | cloud.google.com/dlp/docs/creating-stored-infotypes to | |
| 481 | cloud.google.com/dlp/docs/creating-stored-infotypes to | |
| 497 | cloud.google.com/dlp/docs/creating-stored-infotypes to | |
| 513 | cloud.google.com/dlp/docs/creating-stored-infotypes to | |
| 529 | cloud.google.com/dlp/docs/creating-stored-infotypes to |
FixedSizeBucketingConfig.php
| Type | Line | Description |
|---|---|---|
| 23 | cloud.google.com/dlp/docs/concepts-bucketing to learn more. |
DlpServiceGapicClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/privacy/dlp/v2/dlp.proto | |
| 103 | cloud.google.com/dlp/docs/. | |
| 153 | www.googleapis.com/auth/cloud-platform', | |
| 516 | Swallow the exception to continue trying other path templates | |
| 588 | cloud.google.com/dlp/docs/inspecting-images | |
| 589 | cloud.google.com/dlp/docs/inspecting-text, | |
| 654 | cloud.google.com/dlp/docs/redacting-sensitive-data-images to | |
| 725 | cloud.google.com/dlp/docs/deidentify-sensitive-data to | |
| 812 | cloud.google.com/dlp/docs/pseudonymization#re-identification_in_free_text_code_example | |
| 899 | cloud.google.com/dlp/docs/infotypes-reference to | |
| 955 | cloud.google.com/dlp/docs/creating-templates to learn more. | |
| 1013 | cloud.google.com/dlp/docs/creating-templates to learn more. | |
| 1069 | cloud.google.com/dlp/docs/creating-templates to learn more. | |
| 1117 | cloud.google.com/dlp/docs/creating-templates to learn more. | |
| 1124 | Iterate over pages of elements | |
| 1128 | doSomethingWith($element); | |
| 1133 | Alternatively: | |
| 1135 | Iterate through all elements | |
| 1138 | doSomethingWith($element); | |
| 1209 | cloud.google.com/dlp/docs/creating-templates to learn more. | |
| 1254 | cloud.google.com/dlp/docs/creating-templates-deid to learn | |
| 1313 | cloud.google.com/dlp/docs/creating-templates-deid to learn | |
| 1370 | cloud.google.com/dlp/docs/creating-templates-deid to learn | |
| 1417 | cloud.google.com/dlp/docs/creating-templates-deid to learn | |
| 1425 | Iterate over pages of elements | |
| 1429 | doSomethingWith($element); | |
| 1434 | Alternatively: | |
| 1436 | Iterate through all elements | |
| 1439 | doSomethingWith($element); | |
| 1510 | cloud.google.com/dlp/docs/creating-templates-deid to learn | |
| 1555 | cloud.google.com/dlp/docs/inspecting-storage and | |
| 1556 | cloud.google.com/dlp/docs/compute-risk-analysis to learn more. | |
| 1622 | cloud.google.com/dlp/docs/inspecting-storage and | |
| 1623 | cloud.google.com/dlp/docs/compute-risk-analysis to learn more. | |
| 1630 | Iterate over pages of elements | |
| 1634 | doSomethingWith($element); | |
| 1639 | Alternatively: | |
| 1641 | Iterate through all elements | |
| 1644 | doSomethingWith($element); | |
| 1747 | cloud.google.com/dlp/docs/inspecting-storage and | |
| 1748 | cloud.google.com/dlp/docs/compute-risk-analysis to learn more. | |
| 1794 | cloud.google.com/dlp/docs/inspecting-storage and | |
| 1795 | cloud.google.com/dlp/docs/compute-risk-analysis to learn more. | |
| 1839 | cloud.google.com/dlp/docs/inspecting-storage and | |
| 1840 | cloud.google.com/dlp/docs/compute-risk-analysis to learn more. | |
| 1882 | cloud.google.com/dlp/docs/creating-job-triggers to learn more. | |
| 1889 | Iterate over pages of elements | |
| 1893 | doSomethingWith($element); | |
| 1898 | Alternatively: | |
| 1900 | Iterate through all elements | |
| 1903 | doSomethingWith($element); | |
| 1974 | cloud.google.com/dlp/docs/creating-job-triggers to learn more. | |
| 2019 | cloud.google.com/dlp/docs/creating-job-triggers to learn more. | |
| 2062 | cloud.google.com/dlp/docs/creating-job-triggers to learn more. | |
| 2118 | cloud.google.com/dlp/docs/creating-job-triggers to learn more. | |
| 2175 | cloud.google.com/dlp/docs/creating-stored-infotypes to | |
| 2235 | cloud.google.com/dlp/docs/creating-stored-infotypes to | |
| 2294 | cloud.google.com/dlp/docs/creating-stored-infotypes to | |
| 2341 | cloud.google.com/dlp/docs/creating-stored-infotypes to | |
| 2349 | Iterate over pages of elements | |
| 2353 | doSomethingWith($element); | |
| 2358 | Alternatively: | |
| 2360 | Iterate through all elements | |
| 2363 | doSomethingWith($element); | |
| 2435 | cloud.google.com/dlp/docs/creating-stored-infotypes to |
InfoType.php
| Type | Line | Description |
|---|---|---|
| 21 | cloud.google.com/dlp/docs/infotypes-reference when specifying | |
| 38 | cloud.google.com/dlp/docs/infotypes-reference when specifying | |
| 51 | cloud.google.com/dlp/docs/infotypes-reference when specifying | |
| 66 | cloud.google.com/dlp/docs/infotypes-reference when specifying |
InfoTypeTransformation.php
| Type | Line | Description |
|---|---|---|
| 111 | Adding a class alias for backwards compatibility with the previous class name. |
InfoTypeLimit.php
| Type | Line | Description |
|---|---|---|
| 115 | Adding a class alias for backwards compatibility with the previous class name. |
FindingLimits.php
| Type | Line | Description |
|---|---|---|
| 154 | Adding a class alias for backwards compatibility with the previous class name. |
InspectConfig.php
| Type | Line | Description |
|---|---|---|
| 23 | cloud.google.com/dlp/docs/infotypes-reference. | |
| 38 | cloud.google.com/dlp/docs/likelihood to learn more. | |
| 62 | cloud.google.com/dlp/docs/creating-custom-infotypes to learn more. | |
| 92 | cloud.google.com/dlp/docs/infotypes-reference. | |
| 103 | cloud.google.com/dlp/docs/likelihood to learn more. | |
| 112 | cloud.google.com/dlp/docs/creating-custom-infotypes to learn more. | |
| 130 | cloud.google.com/dlp/docs/infotypes-reference. | |
| 150 | cloud.google.com/dlp/docs/infotypes-reference. | |
| 174 | cloud.google.com/dlp/docs/likelihood to learn more. | |
| 187 | cloud.google.com/dlp/docs/likelihood to learn more. | |
| 279 | cloud.google.com/dlp/docs/creating-custom-infotypes to learn more. | |
| 291 | cloud.google.com/dlp/docs/creating-custom-infotypes to learn more. |
RequestedOptions.php
| Type | Line | Description |
|---|---|---|
| 97 | Adding a class alias for backwards compatibility with the previous class name. |
Result.php
| Type | Line | Description |
|---|---|---|
| 138 | Adding a class alias for backwards compatibility with the previous class name. |
InspectTemplate.php
| Type | Line | Description |
|---|---|---|
| 14 | cloud.google.com/dlp/docs/concepts-templates |
Status.php
| Type | Line | Description |
|---|---|---|
| 41 | Adding a class alias for backwards compatibility with the previous class name. |
Trigger.php
| Type | Line | Description |
|---|---|---|
| 71 | Adding a class alias for backwards compatibility with the previous class name. |
JobTrigger.php
| Type | Line | Description |
|---|---|---|
| 13 | cloud.google.com/dlp/docs/concepts-job-triggers to learn more. |
PathElement.php
| Type | Line | Description |
|---|---|---|
| 162 | Adding a class alias for backwards compatibility with the previous class name. |
LargeCustomDictionaryConfig.php
| Type | Line | Description |
|---|---|---|
| 14 | cloud.google.com/dlp/limits) page. The artifacts of |
OutputSchema.php
| Type | Line | Description |
|---|---|---|
| 51 | Adding a class alias for backwards compatibility with the previous class name. |
CategoricalStatsConfig.php
| Type | Line | Description |
|---|---|---|
| 81 | Adding a class alias for backwards compatibility with the previous class name. |
DeltaPresenceEstimationConfig.php
| Type | Line | Description |
|---|---|---|
| 159 | Adding a class alias for backwards compatibility with the previous class name. |
KAnonymityConfig.php
| Type | Line | Description |
|---|---|---|
| 150 | Adding a class alias for backwards compatibility with the previous class name. |
QuasiIdField.php
| Type | Line | Description |
|---|---|---|
| 89 | Adding a class alias for backwards compatibility with the previous class name. |
AuxiliaryTable.php
| Type | Line | Description |
|---|---|---|
| 150 | Adding a class alias for backwards compatibility with the previous class name. |
TaggedField.php
| Type | Line | Description |
|---|---|---|
| 180 | Adding a class alias for backwards compatibility with the previous class name. |
KMapEstimationConfig.php
| Type | Line | Description |
|---|---|---|
| 162 | Adding a class alias for backwards compatibility with the previous class name. |
LDiversityConfig.php
| Type | Line | Description |
|---|---|---|
| 110 | Adding a class alias for backwards compatibility with the previous class name. |
NumericalStatsConfig.php
| Type | Line | Description |
|---|---|---|
| 73 | Adding a class alias for backwards compatibility with the previous class name. |
Condition.php
| Type | Line | Description |
|---|---|---|
| 150 | Adding a class alias for backwards compatibility with the previous class name. |
Conditions.php
| Type | Line | Description |
|---|---|---|
| 61 | Adding a class alias for backwards compatibility with the previous class name. |
LogicalOperator.php
| Type | Line | Description |
|---|---|---|
| 22 | Adding a class alias for backwards compatibility with the previous class name. |
Expressions.php
| Type | Line | Description |
|---|---|---|
| 104 | Adding a class alias for backwards compatibility with the previous class name. |
ImageRedactionConfig.php
| Type | Line | Description |
|---|---|---|
| 149 | Adding a class alias for backwards compatibility with the previous class name. |
RiskAnalysisJobConfig.php
| Type | Line | Description |
|---|---|---|
| 13 | cloud.google.com/dlp/docs/concepts-risk-analysis to learn more. |
QuasiIdentifierField.php
| Type | Line | Description |
|---|---|---|
| 89 | Adding a class alias for backwards compatibility with the previous class name. |
TimespanConfig.php
| Type | Line | Description |
|---|---|---|
| 219 | Adding a class alias for backwards compatibility with the previous class name. |
Row.php
| Type | Line | Description |
|---|---|---|
| 59 | Adding a class alias for backwards compatibility with the previous class name. |
Table.php
| Type | Line | Description |
|---|---|---|
| 13 | cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to |
TimePart.php
| Type | Line | Description |
|---|---|---|
| 54 | Adding a class alias for backwards compatibility with the previous class name. |
SummaryResult.php
| Type | Line | Description |
|---|---|---|
| 127 | Adding a class alias for backwards compatibility with the previous class name. |
TransformationResultCode.php
| Type | Line | Description |
|---|---|---|
| 28 | Adding a class alias for backwards compatibility with the previous class name. |
Bootstrap.php
| Type | Line | Description |
|---|---|---|
| 25 | Now it's in the same directory. |
prepend.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 32 | when running from a git clone. | |
| 35 | when running from google/cloud-error-reporting installation. | |
| 38 | when running from google/cloud installation. | |
| 54 | when running from a git clone | |
| 58 | when running from a google/cloud-error-reporting installation. | |
| 62 | when running from google/cloud installation. |
DeleteEventsRequest.php
| Type | Line | Description |
|---|---|---|
| 22 | support.google.com/cloud/answer/6158840). | |
| 39 | support.google.com/cloud/answer/6158840). | |
| 52 | support.google.com/cloud/answer/6158840). | |
| 67 | support.google.com/cloud/answer/6158840). |
ErrorGroupServiceClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/devtools/clouderrorreporting/v1beta1/error_group_service.proto | |
| 36 | This class is intentionally empty, and is intended to hold manual | |
| 37 | additions to the generated {@see ErrorGroupServiceGapicClient} class. |
ErrorGroupServiceGrpcClient.php
| Type | Line | Description |
|---|---|---|
| 2 | GENERATED CODE -- DO NOT EDIT! | |
| 4 | Original file comments: | |
| 5 | Copyright 2016 Google Inc. | |
| 7 | // Licensed under the Apache License, Version 2.0 (the "License"); | |
| 8 | you may not use this file except in compliance with the License. | |
| 9 | You may obtain a copy of the License at | |
| 11 | // http://www.apache.org/licenses/LICENSE-2.0 | |
| 13 | // Unless required by applicable law or agreed to in writing, software | |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, | |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 16 | See the License for the specific language governing permissions and | |
| 17 | limitations under the License. | |
| 19 | namespace Google\Cloud\ErrorReporting\V1beta1; |
ErrorStatsServiceClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/devtools/clouderrorreporting/v1beta1/error_stats_service.proto | |
| 36 | This class is intentionally empty, and is intended to hold manual | |
| 37 | additions to the generated {@see ErrorStatsServiceGapicClient} class. |
ErrorStatsServiceGrpcClient.php
| Type | Line | Description |
|---|---|---|
| 2 | GENERATED CODE -- DO NOT EDIT! | |
| 4 | Original file comments: | |
| 5 | Copyright 2016 Google Inc. | |
| 7 | // Licensed under the Apache License, Version 2.0 (the "License"); | |
| 8 | you may not use this file except in compliance with the License. | |
| 9 | You may obtain a copy of the License at | |
| 11 | // http://www.apache.org/licenses/LICENSE-2.0 | |
| 13 | // Unless required by applicable law or agreed to in writing, software | |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, | |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 16 | See the License for the specific language governing permissions and | |
| 17 | limitations under the License. | |
| 19 | namespace Google\Cloud\ErrorReporting\V1beta1; |
ErrorGroupServiceGapicClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/devtools/clouderrorreporting/v1beta1/error_group_service.proto | |
| 92 | www.googleapis.com/auth/cloud-platform', | |
| 189 | Swallow the exception to continue trying other path templates |
ErrorStatsServiceGapicClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/devtools/clouderrorreporting/v1beta1/error_stats_service.proto | |
| 60 | Iterate over pages of elements | |
| 64 | doSomethingWith($element); | |
| 69 | Alternatively: | |
| 71 | Iterate through all elements | |
| 74 | doSomethingWith($element); | |
| 116 | www.googleapis.com/auth/cloud-platform', | |
| 211 | Swallow the exception to continue trying other path templates | |
| 284 | Iterate over pages of elements | |
| 288 | doSomethingWith($element); | |
| 293 | Alternatively: | |
| 295 | Iterate through all elements | |
| 298 | doSomethingWith($element); | |
| 307 | support.google.com/cloud/answer/6158840">Google Cloud | |
| 409 | Iterate over pages of elements | |
| 413 | doSomethingWith($element); | |
| 418 | Alternatively: | |
| 420 | Iterate through all elements | |
| 423 | doSomethingWith($element); | |
| 433 | support.google.com/cloud/answer/6158840). | |
| 511 | support.google.com/cloud/answer/6158840). |
ReportErrorsServiceGapicClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/devtools/clouderrorreporting/v1beta1/report_errors_service.proto | |
| 93 | www.googleapis.com/auth/cloud-platform', | |
| 188 | Swallow the exception to continue trying other path templates | |
| 257 | support.google.com/cloud/answer/6158862">API key</a> | |
| 260 | clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456</pre> | |
| 276 | support.google.com/cloud/answer/6158840). |
ListEventsRequest.php
| Type | Line | Description |
|---|---|---|
| 22 | support.google.com/cloud/answer/6158840). | |
| 73 | support.google.com/cloud/answer/6158840). | |
| 100 | support.google.com/cloud/answer/6158840). | |
| 115 | support.google.com/cloud/answer/6158840). |
ListGroupStatsRequest.php
| Type | Line | Description |
|---|---|---|
| 21 | support.google.com/cloud/answer/6158840">Google Cloud | |
| 107 | support.google.com/cloud/answer/6158840">Google Cloud | |
| 153 | support.google.com/cloud/answer/6158840">Google Cloud | |
| 168 | support.google.com/cloud/answer/6158840">Google Cloud |
Period.php
| Type | Line | Description |
|---|---|---|
| 57 | Adding a class alias for backwards compatibility with the previous class name. |
ReportErrorEventRequest.php
| Type | Line | Description |
|---|---|---|
| 21 | support.google.com/cloud/answer/6158840). | |
| 43 | support.google.com/cloud/answer/6158840). | |
| 57 | support.google.com/cloud/answer/6158840). | |
| 71 | support.google.com/cloud/answer/6158840). |
ReportErrorsServiceClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/devtools/clouderrorreporting/v1beta1/report_errors_service.proto | |
| 36 | This class is intentionally empty, and is intended to hold manual | |
| 37 | additions to the generated {@see ReportErrorsServiceGapicClient} class. |
ReportErrorsServiceGrpcClient.php
| Type | Line | Description |
|---|---|---|
| 2 | GENERATED CODE -- DO NOT EDIT! | |
| 4 | Original file comments: | |
| 5 | Copyright 2016 Google Inc. | |
| 7 | // Licensed under the Apache License, Version 2.0 (the "License"); | |
| 8 | you may not use this file except in compliance with the License. | |
| 9 | You may obtain a copy of the License at | |
| 11 | // http://www.apache.org/licenses/LICENSE-2.0 | |
| 13 | // Unless required by applicable law or agreed to in writing, software | |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, | |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 16 | See the License for the specific language governing permissions and | |
| 17 | limitations under the License. | |
| 19 | namespace Google\Cloud\ErrorReporting\V1beta1; | |
| 40 | support.google.com/cloud/answer/6158862">API key</a> | |
| 43 | clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456</pre> |
ServiceContext.php
| Type | Line | Description |
|---|---|---|
| 39 | cloud.google.com/monitoring/api/resources | |
| 65 | cloud.google.com/monitoring/api/resources | |
| 141 | cloud.google.com/monitoring/api/resources | |
| 155 | cloud.google.com/monitoring/api/resources |
TrackingIssue.php
| Type | Line | Description |
|---|---|---|
| 20 | github.com/user/project/issues/4 | |
| 34 | github.com/user/project/issues/4 | |
| 44 | github.com/user/project/issues/4 | |
| 56 | github.com/user/project/issues/4 |
CollectionReference.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
ConnectionInterface.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
Grpc.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
DocumentReference.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 171 | cloud.google.com/firestore/docs/reference/rpc/google.firestore.v1beta1#google.firestore.v1beta1.Firestore.Commit Commit | |
| 178 | cloud.google.com/firestore/docs/reference/rpc/google.firestore.v1beta1#google.firestore.v1beta1.WriteResult) | |
| 206 | cloud.google.com/firestore/docs/reference/rpc/google.firestore.v1beta1#google.firestore.v1beta1.Firestore.Commit Commit | |
| 221 | cloud.google.com/firestore/docs/reference/rpc/google.firestore.v1beta1#google.firestore.v1beta1.WriteResult) | |
| 265 | Google Cloud PHP provides special field values to enable operations such | |
| 266 | as deleting fields or setting the value to the current server timestamp. | |
| 276 | If your field names contain special characters (such as `.`, or symbols), | |
| 277 | using {@see Google\Cloud\Firestore\FieldPath} will properly escape each element. | |
| 287 | cloud.google.com/firestore/docs/reference/rpc/google.firestore.v1beta1#google.firestore.v1beta1.Firestore.Commit Commit | |
| 292 | cloud.google.com/firestore/docs/reference/rpc/google.firestore.v1beta1#google.firestore.v1beta1.WriteResult) | |
| 317 | cloud.google.com/firestore/docs/reference/rpc/google.firestore.v1beta1#google.firestore.v1beta1.Firestore.Commit Commit | |
| 320 | cloud.google.com/firestore/docs/reference/rpc/google.firestore.v1beta1#google.firestore.v1beta1.WriteResult) | |
| 341 | cloud.google.com/firestore/docs/reference/rpc/google.firestore.v1beta1#google.firestore.v1beta1.Firestore.BatchGetDocuments BatchGetDocuments | |
| 381 | cloud.google.com/firestore/docs/reference/rpc/google.firestore.v1beta1#google.firestore.v1beta1.Firestore.ListCollectionIds ListCollectionIds |
DocumentSnapshot.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 39 | Fields are exposed via array-style accessors: | |
| 266 | Field names containing dots or symbols can be targeted using a FieldPath instance: | |
| 345 | @codeCoverageIgnoreStart | |
| 347 | @codeCoverageIgnoreEnd |
FieldPath.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 48 | falsey is good enough unless the field is actually `0`. | |
| 161 | If no special characters are found, return the input unchanged. | |
| 166 | If the string is already wrapped in backticks, return as-is. |
ArrayRemoveValue.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
ArrayUnionValue.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
DeleteFieldValue.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
DocumentTransformInterface.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
DocumentTransformTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
FieldValueInterface.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
FieldValueTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
ServerTimestampValue.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
FieldValue.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 39 | Prevent instantiation of this class. |
FirestoreClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 39 | pecl.php.net). | |
| 62 | www.googleapis.com/auth/cloud-platform'; | |
| 83 | cloud.google.com/php/grpc). | |
| 194 | firebase.google.com/docs/firestore/reference/rpc/google.firestore.v1beta1#google.firestore.v1beta1.Firestore.ListCollectionIds ListCollectionIds | |
| 272 | To check whether a given document exists, use `DocumentSnapshot::exists()`. | |
| 285 | cloud.google.com/firestore/docs/reference/rpc/google.firestore.v1beta1#google.firestore.v1beta1.Firestore.BatchGetDocuments BatchGetDocuments | |
| 334 | If the transaction cannot be completed, throwing any exception | |
| 335 | will trigger a rollback operation. | |
| 351 | cloud.google.com/firestore/docs/reference/rpc/google.firestore.v1beta1#google.firestore.v1beta1.Firestore.BeginTransaction BeginTransaction | |
| 352 | cloud.google.com/firestore/docs/reference/rpc/google.firestore.v1beta1#google.firestore.v1beta1.Firestore.Commit Commit | |
| 353 | cloud.google.com/firestore/docs/reference/rpc/google.firestore.v1beta1#google.firestore.v1beta1.Firestore.Rollback Rollback | |
| 394 | Track the Transaction ID outside the retry function. | |
| 395 | If the transaction is retried after an abort, the previous transaction | |
| 396 | must be provided to the subsequent `beginTransaction` rpc. | |
| 397 | It also provides a convenient indication to the user whether the | |
| 398 | transaction is retried or not. | |
| 431 | trigger rollback if no writes exist. | |
| 455 | cloud.google.com/firestore/docs/reference/rpc/google.type#google.type.LatLng LatLng | |
| 475 | Blobs can be used to store binary data |
PathTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 226 | UUIDs are a pre-existing library dependency, so we'll use that instead | |
| 227 | of adding random_compat or something similar. | |
| 228 | Generate a UUID, then strip `-` and trim to expected length. | |
| 229 | @todo revisit once library requires php >= 7.0 and random_int() can be used without dependency. |
Query.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 156 | cloud.google.com/firestore/docs/reference/rpc/google.firestore.v1beta1#google.firestore.v1beta1.Firestore.RunQuery RunQuery | |
| 181 | cache collection references | |
| 275 | Filtering against `null` and `NAN` is supported only with the equality operator. | |
| 280 | Use `array-contains` to select documents where the array contains given elements. | |
| 714 | If there is inequality filter (anything other than equals), | |
| 715 | append orderBy(the last inequality filter’s path, ascending). | |
| 738 | If the query has existing orderBy constraints | |
| 740 | Append orderBy(__name__, direction of last orderBy clause) | |
| 749 | no existing orderBy constraints | |
| 750 | Otherwise append orderBy(__name__, ‘asc’) |
QuerySnapshot.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 35 | Snapshots can be iterated with foreach: |
SnapshotTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 77 | cloud.google.com/firestore/docs/reference/rpc/google.firestore.v1beta1#google.firestore.v1beta1.Document) | |
| 236 | The GAPIC parser does not support special characters in paths, | |
| 237 | but Firestore does. If an exception is raised by the parser, | |
| 238 | we'll check for special characters. If they exist, we'll | |
| 239 | manually construct a document path. | |
| 242 | @codeCoverageIgnoreStart | |
| 246 | @codeCoverageIgnoreEnd |
Transaction.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 42 | Manage Transaction. | |
| 135 | To check whether a given document exists, use `DocumentSnapshot::exists()`. | |
| 148 | cloud.google.com/firestore/docs/reference/rpc/google.firestore.v1beta1#google.firestore.v1beta1.Firestore.BatchGetDocuments BatchGetDocuments | |
| 219 | In this example, all field not explicitly specified will be removed. | |
| 226 | To specify MERGE over REPLACE, set `$options.merge` to `true`. | |
| 287 | Google Cloud PHP provides special field values to enable operations such | |
| 288 | as deleting fields or setting the value to the current server timestamp. | |
| 298 | If your field names contain special characters (such as `.`, or symbols), | |
| 299 | using {@see Google\Cloud\Firestore\FieldPath} will properly escape each element. |
ServerValue.php
| Type | Line | Description |
|---|---|---|
| 29 | Adding a class alias for backwards compatibility with the previous class name. |
FieldTransform.php
| Type | Line | Description |
|---|---|---|
| 213 | Adding a class alias for backwards compatibility with the previous class name. |
FirestoreClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/firestore/v1beta1/firestore.proto | |
| 36 | This class is intentionally empty, and is intended to hold manual | |
| 37 | additions to the generated {@see FirestoreGapicClient} class. |
FirestoreGrpcClient.php
| Type | Line | Description |
|---|---|---|
| 2 | GENERATED CODE -- DO NOT EDIT! | |
| 4 | Original file comments: | |
| 5 | Copyright 2018 Google LLC | |
| 7 | // Licensed under the Apache License, Version 2.0 (the "License"); | |
| 8 | you may not use this file except in compliance with the License. | |
| 9 | You may obtain a copy of the License at | |
| 11 | // http://www.apache.org/licenses/LICENSE-2.0 | |
| 13 | // Unless required by applicable law or agreed to in writing, software | |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, | |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 16 | See the License for the specific language governing permissions and | |
| 17 | limitations under the License. | |
| 19 | namespace Google\Cloud\Firestore\V1beta1; |
FirestoreGapicClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/firestore/v1beta1/firestore.proto | |
| 135 | www.googleapis.com/auth/cloud-platform', | |
| 136 | www.googleapis.com/auth/datastore', | |
| 329 | Swallow the exception to continue trying other path templates | |
| 465 | Iterate over pages of elements | |
| 469 | doSomethingWith($element); | |
| 474 | Alternatively: | |
| 476 | Iterate through all elements | |
| 479 | doSomethingWith($element); | |
| 764 | Read all responses until the stream is complete | |
| 767 | doSomethingWith($element); | |
| 991 | Read all responses until the stream is complete | |
| 994 | doSomethingWith($element); | |
| 1067 | Write all requests to the server, then read all responses until the | |
| 1068 | stream is complete | |
| 1073 | doSomethingWith($element); | |
| 1077 | Alternatively: | |
| 1079 | Write requests individually, making read() calls if | |
| 1080 | required. Call closeWrite() once writes are complete, and read the | |
| 1081 | remaining responses from the server. | |
| 1086 | if required, read a single response from the stream | |
| 1088 | doSomethingWith($element) | |
| 1093 | doSomethingWith($element) | |
| 1134 | Write all requests to the server, then read all responses until the | |
| 1135 | stream is complete | |
| 1140 | doSomethingWith($element); | |
| 1144 | Alternatively: | |
| 1146 | Write requests individually, making read() calls if | |
| 1147 | required. Call closeWrite() once writes are complete, and read the | |
| 1148 | remaining responses from the server. | |
| 1153 | if required, read a single response from the stream | |
| 1155 | doSomethingWith($element) | |
| 1160 | doSomethingWith($element) | |
| 1199 | Iterate over pages of elements | |
| 1203 | doSomethingWith($element); | |
| 1208 | Alternatively: | |
| 1210 | Iterate through all elements | |
| 1213 | doSomethingWith($element); |
CollectionSelector.php
| Type | Line | Description |
|---|---|---|
| 114 | Adding a class alias for backwards compatibility with the previous class name. |
Operator.php
| Type | Line | Description |
|---|---|---|
| 28 | Adding a class alias for backwards compatibility with the previous class name. |
CompositeFilter.php
| Type | Line | Description |
|---|---|---|
| 106 | Adding a class alias for backwards compatibility with the previous class name. |
Direction.php
| Type | Line | Description |
|---|---|---|
| 34 | Adding a class alias for backwards compatibility with the previous class name. |
Operator.php
| Type | Line | Description |
|---|---|---|
| 59 | Adding a class alias for backwards compatibility with the previous class name. |
FieldFilter.php
| Type | Line | Description |
|---|---|---|
| 136 | Adding a class alias for backwards compatibility with the previous class name. |
FieldReference.php
| Type | Line | Description |
|---|---|---|
| 61 | Adding a class alias for backwards compatibility with the previous class name. |
Filter.php
| Type | Line | Description |
|---|---|---|
| 127 | Adding a class alias for backwards compatibility with the previous class name. |
Order.php
| Type | Line | Description |
|---|---|---|
| 102 | Adding a class alias for backwards compatibility with the previous class name. |
Projection.php
| Type | Line | Description |
|---|---|---|
| 76 | Adding a class alias for backwards compatibility with the previous class name. |
Operator.php
| Type | Line | Description |
|---|---|---|
| 34 | Adding a class alias for backwards compatibility with the previous class name. |
UnaryFilter.php
| Type | Line | Description |
|---|---|---|
| 105 | Adding a class alias for backwards compatibility with the previous class name. |
DocumentsTarget.php
| Type | Line | Description |
|---|---|---|
| 80 | Adding a class alias for backwards compatibility with the previous class name. |
QueryTarget.php
| Type | Line | Description |
|---|---|---|
| 125 | Adding a class alias for backwards compatibility with the previous class name. |
TargetChangeType.php
| Type | Line | Description |
|---|---|---|
| 54 | Adding a class alias for backwards compatibility with the previous class name. |
ReadOnly.php
| Type | Line | Description |
|---|---|---|
| 74 | Adding a class alias for backwards compatibility with the previous class name. |
ReadWrite.php
| Type | Line | Description |
|---|---|---|
| 68 | Adding a class alias for backwards compatibility with the previous class name. |
ValueMapper.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 110 | firebase.google.com/docs/firestore/reference/rpc/google.firestore.v1beta1#value Value | |
| 192 | firebase.google.com/docs/firestore/reference/rpc/google.firestore.v1beta1#value) | |
| 233 | @todo encode this in a way such that is compatible with a potential future REST transport. | |
| 237 | @codeCoverageIgnoreStart | |
| 244 | @codeCoverageIgnoreEnd | |
| 253 | firebase.google.com/docs/firestore/reference/rpc/google.firestore.v1beta1#google.firestore.v1beta1.ArrayValue) | |
| 325 | firebase.google.com/docs/firestore/reference/rpc/google.firestore.v1beta1#google.firestore.v1beta1.MapValue) |
WriteBatch.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 124 | Record whether the document is empty before any filtering. | |
| 133 | Cannot create a document that already exists! | |
| 136 | Enqueue an update operation if an empty document was provided, | |
| 137 | or if there are still fields after filtering. | |
| 145 | If no UPDATE mutation is enqueued, we need the precondition applied | |
| 146 | to the transform mutation. | |
| 152 | document transform operations are enqueued as a separate mutation. | |
| 196 | Record whether the document is empty before any filtering. | |
| 205 | Enqueue a write if any of the following conditions are met | |
| 206 | - if there are still fields remaining after sentinels were removed | |
| 207 | - if the user provided an empty set to begin with | |
| 208 | - if the user provided only transform sentinel values AND did not specify merge behavior | |
| 209 | - if the user provided only delete sentinel field values. | |
| 233 | document transform operations are enqueued as a separate mutation. | |
| 271 | Google Cloud PHP provides special field values to enable operations such | |
| 272 | as deleting fields or setting the value to the current server timestamp. | |
| 282 | If your field names contain special characters (such as `.`, or symbols), | |
| 283 | using {@see Google\Cloud\Firestore\FieldPath} will properly escape each element. | |
| 331 | Construct a nested array to represent a nested field path. | |
| 332 | For instance, `a.b.c` = 'foo' will become | |
| 333 | `['a' => ['b' => ['c' => 'foo']]]` | |
| 350 | Record whether the document is empty before any filtering. | |
| 355 | to conform to specification. | |
| 360 | We only want to enqueue an update write if there are non-sentinel fields | |
| 361 | OR no transform sentinels are found. | |
| 362 | We MUST always enqueue at least one write, so if there are no fields | |
| 363 | and no transform sentinels, we can assume an empty write is intended | |
| 364 | and enqueue an empty UPDATE operation. | |
| 381 | If no update write is enqueued, preconditions must be applied to | |
| 382 | a transform. | |
| 386 | document transform operations are enqueued as a separate mutation. | |
| 424 | firebase.google.com/docs/firestore/reference/rpc/google.firestore.v1beta1#google.firestore.v1beta1.Firestore.Commit Commit | |
| 427 | firebase.google.com/docs/firestore/reference/rpc/google.firestore.v1beta1#commitresponse](CommitResponse) | |
| 566 | firebase.google.com/docs/firestore/reference/rpc/google.firestore.v1beta1#google.firestore.v1beta1.Precondition) | |
| 634 | @codeCoverageIgnoreStart | |
| 641 | @codeCoverageIgnoreEnd | |
| 667 | Recurses through the fields list, filtering for sentinel values | |
| 668 | and performing common validation. | |
| 686 | If a sentinel appears in or descends from an array, we need to track that. | |
| 702 | Sentinels cannot be used within a non-associative array. | |
| 712 | Delete cannot be nested in update-paths | |
| 713 | (i.e. the only case where `$inputPaths` would be available) | |
| 727 | Values of type `DocumentTransformInterface` cannot contain nested transforms. | |
| 744 | Remove the sentinel value from the fields array. | |
| 747 | Record whether the mutation contains a transform value. | |
| 752 | Record whether an update mask is required. | |
| 757 | Record whether a field delete is provided. | |
| 871 | The flag isn't really necessary since prefixes can only happen in | |
| 872 | update-paths, but using it lets us bypass the unnecessary check | |
| 873 | unless we need it. | |
| 878 | Remove any duplicate values before returning. |
DeviceManagerClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/cloud/iot/v1/device_manager.proto | |
| 50 | If transport is set to anything other than grpc, take no action | |
| 51 | and process as usual in setClientOptions | |
| 53 | If transport is not set, default to rest |
DeviceManagerGrpcClient.php
| Type | Line | Description |
|---|---|---|
| 2 | GENERATED CODE -- DO NOT EDIT! | |
| 4 | Original file comments: | |
| 5 | Copyright 2018 Google Inc. | |
| 7 | // Licensed under the Apache License, Version 2.0 (the "License"); | |
| 8 | you may not use this file except in compliance with the License. | |
| 9 | You may obtain a copy of the License at | |
| 11 | // http://www.apache.org/licenses/LICENSE-2.0 | |
| 13 | // Unless required by applicable law or agreed to in writing, software | |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, | |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 16 | See the License for the specific language governing permissions and | |
| 17 | limitations under the License. | |
| 19 | namespace Google\Cloud\Iot\V1; |
DeviceManagerGapicClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/cloud/iot/v1/device_manager.proto | |
| 119 | www.googleapis.com/auth/cloud-platform', | |
| 120 | www.googleapis.com/auth/cloudiot', | |
| 283 | Swallow the exception to continue trying other path templates | |
| 570 | Iterate over pages of elements | |
| 574 | doSomethingWith($element); | |
| 579 | Alternatively: | |
| 581 | Iterate through all elements | |
| 584 | doSomethingWith($element); | |
| 875 | Iterate over pages of elements | |
| 879 | doSomethingWith($element); | |
| 884 | Alternatively: | |
| 886 | Iterate through all elements | |
| 889 | doSomethingWith($element); | |
| 1290 | cloud.google.com/iam/docs/overview#permissions). |
PublicKeyCertificateFormat.php
| Type | Line | Description |
|---|---|---|
| 22 | www.ietf.org/rfc/rfc5280.txt)), |
PublicKeyFormat.php
| Type | Line | Description |
|---|---|---|
| 25 | www.ietf.org/rfc/rfc7518.txt)). | |
| 32 | www.ietf.org/rfc/rfc5280.txt)), encoded in base64, and wrapped by | |
| 42 | www.ietf.org/rfc/rfc7518.txt)). This curve is | |
| 43 | www.openssl.org/) as the `prime256v1` curve. | |
| 50 | www.ietf.org/rfc/rfc5280.txt)), encoded in base64, and wrapped by |
CryptoKeyPurpose.php
| Type | Line | Description |
|---|---|---|
| 48 | Adding a class alias for backwards compatibility with the previous class name. |
CryptoKeyVersionAlgorithm.php
| Type | Line | Description |
|---|---|---|
| 116 | Adding a class alias for backwards compatibility with the previous class name. |
CryptoKeyVersionState.php
| Type | Line | Description |
|---|---|---|
| 59 | Adding a class alias for backwards compatibility with the previous class name. |
CryptoKeyVersionView.php
| Type | Line | Description |
|---|---|---|
| 33 | Adding a class alias for backwards compatibility with the previous class name. |
KeyManagementServiceGapicClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/cloud/kms/v1/service.proto | |
| 88 | cloud.google.com/kms/docs/grpc). | |
| 97 | Iterate over pages of elements | |
| 101 | doSomethingWith($element); | |
| 106 | Alternatively: | |
| 108 | Iterate through all elements | |
| 111 | doSomethingWith($element); | |
| 153 | www.googleapis.com/auth/cloud-platform', | |
| 386 | Swallow the exception to continue trying other path templates | |
| 458 | Iterate over pages of elements | |
| 462 | doSomethingWith($element); | |
| 467 | Alternatively: | |
| 469 | Iterate through all elements | |
| 472 | doSomethingWith($element); | |
| 539 | Iterate over pages of elements | |
| 543 | doSomethingWith($element); | |
| 548 | Alternatively: | |
| 550 | Iterate through all elements | |
| 553 | doSomethingWith($element); | |
| 626 | Iterate over pages of elements | |
| 630 | doSomethingWith($element); | |
| 635 | Alternatively: | |
| 637 | Iterate through all elements | |
| 640 | doSomethingWith($element); | |
| 1777 | cloud.google.com/iam/docs/overview#permissions). |
KeyManagementServiceClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/cloud/kms/v1/service.proto | |
| 36 | This class is intentionally empty, and is intended to hold manual | |
| 37 | additions to the generated {@see KeyManagementServiceGapicClient} class. |
KeyManagementServiceGrpcClient.php
| Type | Line | Description |
|---|---|---|
| 2 | GENERATED CODE -- DO NOT EDIT! | |
| 4 | Original file comments: | |
| 5 | Copyright 2018 Google LLC. | |
| 7 | // Licensed under the Apache License, Version 2.0 (the "License"); | |
| 8 | you may not use this file except in compliance with the License. | |
| 9 | You may obtain a copy of the License at | |
| 11 | // http://www.apache.org/licenses/LICENSE-2.0 | |
| 13 | // Unless required by applicable law or agreed to in writing, software | |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, | |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 16 | See the License for the specific language governing permissions and | |
| 17 | limitations under the License. | |
| 19 | // | |
| 33 | cloud.google.com/kms/docs/grpc). |
AttestationFormat.php
| Type | Line | Description |
|---|---|---|
| 27 | Adding a class alias for backwards compatibility with the previous class name. |
PublicKey.php
| Type | Line | Description |
|---|---|---|
| 21 | tools.ietf.org/html/rfc7468) sections for | |
| 22 | tools.ietf.org/html/rfc7468#section-2) and | |
| 24 | tools.ietf.org/html/rfc7468#section-13). | |
| 45 | tools.ietf.org/html/rfc7468) sections for | |
| 46 | tools.ietf.org/html/rfc7468#section-2) and | |
| 48 | tools.ietf.org/html/rfc7468#section-13). | |
| 61 | tools.ietf.org/html/rfc7468) sections for | |
| 62 | tools.ietf.org/html/rfc7468#section-2) and | |
| 64 | tools.ietf.org/html/rfc7468#section-13). | |
| 76 | tools.ietf.org/html/rfc7468) sections for | |
| 77 | tools.ietf.org/html/rfc7468#section-2) and | |
| 79 | tools.ietf.org/html/rfc7468#section-13). |
Annotation.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 24 | cloud.google.com/natural-language/docs). | |
| 57 | cloud.google.com/natural-language/docs/reference/rest/v1/Sentence Sentence type documentation | |
| 71 | cloud.google.com/natural-language/docs/reference/rest/v1/Token Token type documentation | |
| 85 | cloud.google.com/natural-language/docs/reference/rest/v1/Entity Entity type documentation | |
| 100 | cloud.google.com/natural-language/docs/reference/rest/v1beta2/ClassificationCategory Classification category documentation | |
| 144 | cloud.google.com/natural-language/docs/reference/rest/v1/documents/annotateText#response-body Annotate Text documentation | |
| 166 | cloud.google.com/natural-language/docs/reference/rest/v1/Sentiment Sentiment type documentation | |
| 188 | cloud.google.com/natural-language/docs/reference/rest/v1/Token#Tag Token tags documentation | |
| 215 | cloud.google.com/natural-language/docs/reference/rest/v1/Token#Label Token labels documentation | |
| 242 | cloud.google.com/natural-language/docs/reference/rest/v1/Entity#Type Entity types documentation | |
| 274 | key into the value with the given path |
ConnectionInterface.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 22 | cloud.google.com/natural-language/). |
Rest.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 28 | cloud.google.com/natural-language/reference/rest/). | |
| 35 | language.googleapis.com/'; |
LanguageClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 33 | cloud.google.com/natural-language/docs/). | |
| 49 | www.googleapis.com/auth/cloud-platform'; | |
| 125 | cloud.google.com/natural-language/docs/reference/rest/v1/documents/analyzeEntities Analyze Entities API documentation | |
| 131 | {bucket-name}/{object-name}` or a | |
| 139 | {bucket-name}/{object-name}`. **Defaults to** `true`. | |
| 152 | unicode.org/glossary/#code_unit) offsets. | |
| 154 | unicode.org/glossary/#character) | |
| 182 | cloud.google.com/natural-language/docs/reference/rest/v1/documents/analyzeSentiment Analyze Sentiment API documentation | |
| 188 | {bucket-name}/{object-name}` or a | |
| 196 | {bucket-name}/{object-name}`. **Defaults to** `true`. | |
| 209 | unicode.org/glossary/#code_unit) offsets. | |
| 211 | unicode.org/glossary/#character) | |
| 241 | cloud.google.com/natural-language/docs/reference/rest/v1/documents/analyzeEntitySentiment Analyze Entity Sentiment API documentation | |
| 247 | {bucket-name}/{object-name}` or a | |
| 255 | {bucket-name}/{object-name}`. **Defaults to** `true`. | |
| 268 | unicode.org/glossary/#code_unit) offsets. | |
| 270 | unicode.org/glossary/#character) | |
| 297 | cloud.google.com/natural-language/docs/reference/rest/v1/documents/analyzeSyntax Analyze Syntax API documentation | |
| 303 | {bucket-name}/{object-name}` or a | |
| 311 | {bucket-name}/{object-name}`. **Defaults to** `true`. | |
| 324 | unicode.org/glossary/#code_unit) offsets. | |
| 326 | unicode.org/glossary/#character) | |
| 354 | cloud.google.com/natural-language/docs/reference/rest/v1beta2/documents/classifyText Classify Text API documentation | |
| 360 | {bucket-name}/{object-name}` or a | |
| 368 | {bucket-name}/{object-name}`. **Defaults to** `true`. | |
| 393 | Annotate text with all features enabled. | |
| 401 | Annotate text with syntax and sentiment features enabled. | |
| 412 | cloud.google.com/natural-language/docs/reference/rest/v1/documents/annotateText Annotate Text API documentation | |
| 418 | {bucket-name}/{object-name}` or a | |
| 426 | {bucket-name}/{object-name}`. **Defaults to** `true`. | |
| 443 | unicode.org/glossary/#code_unit) offsets. | |
| 445 | unicode.org/glossary/#character) | |
| 503 | ') { |
Features.php
| Type | Line | Description |
|---|---|---|
| 205 | Adding a class alias for backwards compatibility with the previous class name. |
Label.php
| Type | Line | Description |
|---|---|---|
| 514 | Adding a class alias for backwards compatibility with the previous class name. |
Type.php
| Type | Line | Description |
|---|---|---|
| 34 | Adding a class alias for backwards compatibility with the previous class name. |
Document.php
| Type | Line | Description |
|---|---|---|
| 54 | bucket_name/object_name. For more | |
| 55 | cloud.google.com/storage/docs/reference-uris. | |
| 129 | bucket_name/object_name. For more | |
| 130 | cloud.google.com/storage/docs/reference-uris. | |
| 143 | bucket_name/object_name. For more | |
| 144 | cloud.google.com/storage/docs/reference-uris. |
Type.php
| Type | Line | Description |
|---|---|---|
| 64 | Adding a class alias for backwards compatibility with the previous class name. |
Type.php
| Type | Line | Description |
|---|---|---|
| 34 | Adding a class alias for backwards compatibility with the previous class name. |
LanguageServiceGapicClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/cloud/language/v1beta2/language_service.proto | |
| 99 | www.googleapis.com/auth/cloud-platform', |
LanguageServiceClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/cloud/language/v1beta2/language_service.proto | |
| 36 | This class is intentionally empty, and is intended to hold manual | |
| 37 | additions to the generated {@see LanguageServiceGapicClient} class. |
LanguageServiceGrpcClient.php
| Type | Line | Description |
|---|---|---|
| 2 | GENERATED CODE -- DO NOT EDIT! | |
| 4 | Original file comments: | |
| 5 | Copyright 2017 Google Inc. | |
| 7 | // Licensed under the Apache License, Version 2.0 (the "License"); | |
| 8 | you may not use this file except in compliance with the License. | |
| 9 | You may obtain a copy of the License at | |
| 11 | // http://www.apache.org/licenses/LICENSE-2.0 | |
| 13 | // Unless required by applicable law or agreed to in writing, software | |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, | |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 16 | See the License for the specific language governing permissions and | |
| 17 | limitations under the License. | |
| 19 | namespace Google\Cloud\Language\V1beta2; |
Aspect.php
| Type | Line | Description |
|---|---|---|
| 40 | Adding a class alias for backwards compatibility with the previous class name. |
Form.php
| Type | Line | Description |
|---|---|---|
| 91 | Adding a class alias for backwards compatibility with the previous class name. |
Gender.php
| Type | Line | Description |
|---|---|---|
| 40 | Adding a class alias for backwards compatibility with the previous class name. |
Mood.php
| Type | Line | Description |
|---|---|---|
| 58 | Adding a class alias for backwards compatibility with the previous class name. |
Number.php
| Type | Line | Description |
|---|---|---|
| 40 | Adding a class alias for backwards compatibility with the previous class name. |
PBCase.php
| Type | Line | Description |
|---|---|---|
| 108 | Adding a class alias for backwards compatibility with the previous class name. |
Person.php
| Type | Line | Description |
|---|---|---|
| 46 | Adding a class alias for backwards compatibility with the previous class name. |
Proper.php
| Type | Line | Description |
|---|---|---|
| 34 | Adding a class alias for backwards compatibility with the previous class name. |
Reciprocity.php
| Type | Line | Description |
|---|---|---|
| 35 | Adding a class alias for backwards compatibility with the previous class name. |
Tag.php
| Type | Line | Description |
|---|---|---|
| 100 | Adding a class alias for backwards compatibility with the previous class name. |
Tense.php
| Type | Line | Description |
|---|---|---|
| 58 | Adding a class alias for backwards compatibility with the previous class name. |
Voice.php
| Type | Line | Description |
|---|---|---|
| 41 | Adding a class alias for backwards compatibility with the previous class name. |
Token.php
| Type | Line | Description |
|---|---|---|
| 37 | en.wikipedia.org/wiki/Lemma_%28morphology%29) of the token. | |
| 56 | en.wikipedia.org/wiki/Lemma_%28morphology%29) of the token. | |
| 143 | en.wikipedia.org/wiki/Lemma_%28morphology%29) of the token. | |
| 154 | en.wikipedia.org/wiki/Lemma_%28morphology%29) of the token. |
ConnectionInterface.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 22 | cloud.google.com/logging/). |
Grpc.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 35 | cloud.google.com/logging/docs/). |
Rest.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 28 | cloud.google.com/logging/docs/api/reference/rest/). | |
| 35 | logging.googleapis.com/'; |
Entry.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 60 | cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry LogEntry resource documentation. |
Logger.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 52 | DEFAULT is a reserved keyword. | |
| 117 | cloud.google.com/logging/docs/reference/v2/rest/v2/MonitoredResource) | |
| 147 | cloud.google.com/logging/docs/api/reference/rest/v2/projects.logs/delete projects.logs delete API documentation. | |
| 173 | Use an advanced logs filter to fetch only entries with a specific payload. | |
| 184 | cloud.google.com/logging/docs/api/reference/rest/v2/entries/list Entries list API documentation. | |
| 190 | cloud.google.com/logging/docs/view/advanced_filters). | |
| 236 | Create an entry with a key/value set of data | |
| 241 | Create an entry with a string | |
| 246 | Create an entry with a severity of `EMERGENCY` and specifying a resource. | |
| 258 | cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry LogEntry resource documentation. | |
| 267 | cloud.google.com/logging/docs/api/reference/rest/v2/MonitoredResource) | |
| 271 | cloud.google.com/logging/docs/api/reference/rest/v2/LogEntry#httprequest) | |
| 278 | cloud.google.com/logging/docs/api/reference/rest/v2/LogEntry#logentryoperation) | |
| 324 | Writing a simple log entry. | |
| 329 | Writing a simple entry with a key/value set of data and a severity of `EMERGENCY`. | |
| 336 | Using the entry factory method to write a log entry. | |
| 342 | cloud.google.com/logging/docs/api/reference/rest/v2/entries/write Entries write API documentation. | |
| 375 | cloud.google.com/logging/docs/api/reference/rest/v2/entries/write Entries write API documentation. |
LoggingClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 37 | cloud.google.com/logging/docs/). | |
| 40 | cloud.google.com/logging/docs/api/reference/rest/) or | |
| 55 | pecl.php.net). | |
| 75 | www.googleapis.com/auth/logging.admin'; | |
| 76 | www.googleapis.com/auth/logging.read'; | |
| 77 | www.googleapis.com/auth/logging.write'; | |
| 104 | cloud.google.com/logging/docs/api/reference/rest/v2/MonitoredResource) | |
| 145 | Force enabling batch. | |
| 208 | cloud.google.com/logging/docs/api/reference/rest/v2/projects.sinks/create projects.sinks create API documentation. | |
| 213 | cloud.google.com/logging/docs/api/tasks/exporting-logs#about_sinks) | |
| 218 | cloud.google.com/logging/docs/view/advanced_filters). | |
| 271 | cloud.google.com/logging/docs/api/reference/rest/v2/projects.sinks/list projects.sinks list API documentation. | |
| 317 | cloud.google.com/logging/docs/api/reference/rest/v2/projects.metrics/create projects.metrics create API documentation. | |
| 321 | cloud.google.com/logging/docs/view/advanced_filters). | |
| 372 | cloud.google.com/logging/docs/api/reference/rest/v2/projects.metrics/list projects.metrics list API documentation. | |
| 419 | Use an advanced logs filter to fetch only entries from a specified log. | |
| 430 | cloud.google.com/logging/docs/api/reference/rest/v2/entries/list Entries list API documentation. | |
| 443 | cloud.google.com/logging/docs/view/advanced_filters). | |
| 497 | Write entries with background batching. | |
| 510 | cloud.google.com/logging/docs/api/reference/rest/v2/MonitoredResource) | |
| 593 | cloud.google.com/logging/docs/api/reference/rest/v2/MonitoredResource) |
Metric.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 26 | cloud.google.com/monitoring/docs). | |
| 107 | cloud.google.com/logging/docs/api/reference/rest/v2/projects.metrics/delete projects.metrics delete API documentation. | |
| 131 | cloud.google.com/logging/docs/api/reference/rest/v2/projects.metrics/update projects.metrics update API documentation. | |
| 138 | cloud.google.com/logging/docs/view/advanced_filters). | |
| 164 | cloud.google.com/logging/docs/api/reference/rest/v2/projects.metrics#resource-logmetric LogMetric resource API documentation. | |
| 190 | cloud.google.com/logging/docs/api/reference/rest/v2/projects.metrics/get projects.metrics get API documentation. |
PsrLogger.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 44 | Write entries with background batching. | |
| 54 | www.php-fig.org/psr/psr-3/#psrlogloggerinterface Psr\Log\LoggerInterface | |
| 302 | Write a log entry using the context array with placeholders. | |
| 311 | Log information regarding an HTTP request | |
| 334 | cloud.google.com/logging/docs/api/reference/rest/v2/MonitoredResource) | |
| 339 | cloud.google.com/logging/docs/api/reference/rest/v2/LogEntry#httprequest) | |
| 347 | cloud.google.com/logging/docs/api/reference/rest/v2/LogEntry#logentryoperation) | |
| 385 | Adding labels for log request correlation. | |
| 392 | Copy over the value for 'appengine.googleapis.com/trace_id' to | |
| 393 | `trace` option too. | |
| 399 | Adding MonitoredResource |
Sink.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 105 | cloud.google.com/logging/docs/api/reference/rest/v2/projects.sinks/delete projects.sinks delete API documentation. | |
| 129 | cloud.google.com/logging/docs/api/reference/rest/v2/projects.sinks/update projects.sinks update API documentation. | |
| 136 | cloud.google.com/logging/docs/api/tasks/exporting-logs#about_sinks) | |
| 138 | cloud.google.com/logging/docs/view/advanced_filters). | |
| 168 | cloud.google.com/logging/docs/api/reference/rest/v2/projects.sinks#resource-logsink LogSink resource API documentation. | |
| 194 | cloud.google.com/logging/docs/api/reference/rest/v2/projects.sinks/get projects.sinks get API documentation. |
ConfigServiceV2Client.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/logging/v2/logging_config.proto | |
| 36 | This class is intentionally empty, and is intended to hold manual | |
| 37 | additions to the generated {@see ConfigServiceV2GapicClient} class. |
ConfigServiceV2GrpcClient.php
| Type | Line | Description |
|---|---|---|
| 2 | GENERATED CODE -- DO NOT EDIT! | |
| 4 | Original file comments: | |
| 5 | Copyright 2018 Google LLC. | |
| 7 | // Licensed under the Apache License, Version 2.0 (the "License"); | |
| 8 | you may not use this file except in compliance with the License. | |
| 9 | You may obtain a copy of the License at | |
| 11 | // http://www.apache.org/licenses/LICENSE-2.0 | |
| 13 | // Unless required by applicable law or agreed to in writing, software | |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, | |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 16 | See the License for the specific language governing permissions and | |
| 17 | limitations under the License. | |
| 19 | // |
ConfigServiceV2GapicClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/logging/v2/logging_config.proto | |
| 65 | Iterate over pages of elements | |
| 69 | doSomethingWith($element); | |
| 74 | Alternatively: | |
| 76 | Iterate through all elements | |
| 79 | doSomethingWith($element); | |
| 121 | www.googleapis.com/auth/cloud-platform', | |
| 122 | www.googleapis.com/auth/cloud-platform.read-only', | |
| 123 | www.googleapis.com/auth/logging.admin', | |
| 124 | www.googleapis.com/auth/logging.read', | |
| 125 | www.googleapis.com/auth/logging.write', | |
| 280 | Swallow the exception to continue trying other path templates | |
| 352 | Iterate over pages of elements | |
| 356 | doSomethingWith($element); | |
| 361 | Alternatively: | |
| 363 | Iterate through all elements | |
| 366 | doSomethingWith($element); | |
| 578 | cloud.google.com/logging/docs/api/reference/rest/v2/projects.sinks/create) | |
| 601 | developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask | |
| 694 | Iterate over pages of elements | |
| 698 | doSomethingWith($element); | |
| 703 | Alternatively: | |
| 705 | Iterate through all elements | |
| 708 | doSomethingWith($element); |
LoggingServiceV2GapicClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/logging/v2/logging.proto | |
| 101 | www.googleapis.com/auth/cloud-platform', | |
| 102 | www.googleapis.com/auth/cloud-platform.read-only', | |
| 103 | www.googleapis.com/auth/logging.admin', | |
| 104 | www.googleapis.com/auth/logging.read', | |
| 105 | www.googleapis.com/auth/logging.write', | |
| 230 | Swallow the exception to continue trying other path templates | |
| 383 | cloud.google.com/logging/quota-policy) in the past or more than | |
| 386 | cloud.google.com/logging/docs/api/tasks/exporting-logs). | |
| 389 | cloud.google.com/logging/quota-policy) for calls to `entries.write`, | |
| 480 | cloud.google.com/logging/docs/export). | |
| 487 | Iterate over pages of elements | |
| 491 | doSomethingWith($element); | |
| 496 | Alternatively: | |
| 498 | Iterate through all elements | |
| 501 | doSomethingWith($element); | |
| 528 | cloud.google.com/logging/docs/view/advanced_filters). Only log entries that | |
| 597 | Iterate over pages of elements | |
| 601 | doSomethingWith($element); | |
| 606 | Alternatively: | |
| 608 | Iterate through all elements | |
| 611 | doSomethingWith($element); | |
| 669 | Iterate over pages of elements | |
| 673 | doSomethingWith($element); | |
| 678 | Alternatively: | |
| 680 | Iterate through all elements | |
| 683 | doSomethingWith($element); |
MetricsServiceV2GapicClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/logging/v2/logging_metrics.proto | |
| 56 | Iterate over pages of elements | |
| 60 | doSomethingWith($element); | |
| 65 | Alternatively: | |
| 67 | Iterate through all elements | |
| 70 | doSomethingWith($element); | |
| 112 | www.googleapis.com/auth/cloud-platform', | |
| 113 | www.googleapis.com/auth/cloud-platform.read-only', | |
| 114 | www.googleapis.com/auth/logging.admin', | |
| 115 | www.googleapis.com/auth/logging.read', | |
| 116 | www.googleapis.com/auth/logging.write', | |
| 241 | Swallow the exception to continue trying other path templates | |
| 313 | Iterate over pages of elements | |
| 317 | doSomethingWith($element); | |
| 322 | Alternatively: | |
| 324 | Iterate through all elements | |
| 327 | doSomethingWith($element); |
LogEntry.php
| Type | Line | Description |
|---|---|---|
| 123 | tracing.googleapis.com`. Example: | |
| 238 | tracing.googleapis.com`. Example: | |
| 693 | tracing.googleapis.com`. Example: | |
| 707 | tracing.googleapis.com`. Example: |
LoggingServiceV2Client.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/logging/v2/logging.proto | |
| 36 | This class is intentionally empty, and is intended to hold manual | |
| 37 | additions to the generated {@see LoggingServiceV2GapicClient} class. |
LoggingServiceV2GrpcClient.php
| Type | Line | Description |
|---|---|---|
| 2 | GENERATED CODE -- DO NOT EDIT! | |
| 4 | Original file comments: | |
| 5 | Copyright 2018 Google LLC. | |
| 7 | // Licensed under the Apache License, Version 2.0 (the "License"); | |
| 8 | you may not use this file except in compliance with the License. | |
| 9 | You may obtain a copy of the License at | |
| 11 | // http://www.apache.org/licenses/LICENSE-2.0 | |
| 13 | // Unless required by applicable law or agreed to in writing, software | |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, | |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 16 | See the License for the specific language governing permissions and | |
| 17 | limitations under the License. | |
| 19 | // |
ApiVersion.php
| Type | Line | Description |
|---|---|---|
| 28 | Adding a class alias for backwards compatibility with the previous class name. |
LogMetric.php
| Type | Line | Description |
|---|---|---|
| 32 | en.wikipedia.org/wiki/Percent-encoding). | |
| 87 | github.com/google/re2/wiki/Syntax) with a single capture | |
| 149 | en.wikipedia.org/wiki/Percent-encoding). | |
| 188 | github.com/google/re2/wiki/Syntax) with a single capture | |
| 234 | en.wikipedia.org/wiki/Percent-encoding). | |
| 257 | en.wikipedia.org/wiki/Percent-encoding). | |
| 401 | github.com/google/re2/wiki/Syntax) with a single capture | |
| 428 | github.com/google/re2/wiki/Syntax) with a single capture |
VersionFormat.php
| Type | Line | Description |
|---|---|---|
| 36 | Adding a class alias for backwards compatibility with the previous class name. |
MetricsServiceV2Client.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/logging/v2/logging_metrics.proto | |
| 36 | This class is intentionally empty, and is intended to hold manual | |
| 37 | additions to the generated {@see MetricsServiceV2GapicClient} class. |
MetricsServiceV2GrpcClient.php
| Type | Line | Description |
|---|---|---|
| 2 | GENERATED CODE -- DO NOT EDIT! | |
| 4 | Original file comments: | |
| 5 | Copyright 2018 Google LLC. | |
| 7 | // Licensed under the Apache License, Version 2.0 (the "License"); | |
| 8 | you may not use this file except in compliance with the License. | |
| 9 | You may obtain a copy of the License at | |
| 11 | // http://www.apache.org/licenses/LICENSE-2.0 | |
| 13 | // Unless required by applicable law or agreed to in writing, software | |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, | |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 16 | See the License for the specific language governing permissions and | |
| 17 | limitations under the License. | |
| 19 | // |
UpdateSinkRequest.php
| Type | Line | Description |
|---|---|---|
| 63 | developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask | |
| 109 | developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask | |
| 240 | developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask | |
| 261 | developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask |
Aligner.php
| Type | Line | Description |
|---|---|---|
| 220 | Adding a class alias for backwards compatibility with the previous class name. |
Reducer.php
| Type | Line | Description |
|---|---|---|
| 143 | Adding a class alias for backwards compatibility with the previous class name. |
MetricAbsence.php
| Type | Line | Description |
|---|---|---|
| 270 | Adding a class alias for backwards compatibility with the previous class name. |
MetricThreshold.php
| Type | Line | Description |
|---|---|---|
| 539 | Adding a class alias for backwards compatibility with the previous class name. |
Trigger.php
| Type | Line | Description |
|---|---|---|
| 106 | Adding a class alias for backwards compatibility with the previous class name. |
Condition.php
| Type | Line | Description |
|---|---|---|
| 256 | Adding a class alias for backwards compatibility with the previous class name. |
ConditionCombinerType.php
| Type | Line | Description |
|---|---|---|
| 46 | Adding a class alias for backwards compatibility with the previous class name. |
Documentation.php
| Type | Line | Description |
|---|---|---|
| 31 | en.wikipedia.org/wiki/Markdown) for more information. | |
| 51 | en.wikipedia.org/wiki/Markdown) for more information. | |
| 94 | en.wikipedia.org/wiki/Markdown) for more information. | |
| 107 | en.wikipedia.org/wiki/Markdown) for more information. | |
| 123 | Adding a class alias for backwards compatibility with the previous class name. |
AlertPolicyServiceClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/monitoring/v3/alert_service.proto | |
| 36 | This class is intentionally empty, and is intended to hold manual | |
| 37 | additions to the generated {@see AlertPolicyServiceGapicClient} class. |
AlertPolicyServiceGrpcClient.php
| Type | Line | Description |
|---|---|---|
| 2 | GENERATED CODE -- DO NOT EDIT! | |
| 4 | Original file comments: | |
| 5 | Copyright 2018 Google LLC | |
| 7 | // Licensed under the Apache License, Version 2.0 (the "License"); | |
| 8 | you may not use this file except in compliance with the License. | |
| 9 | You may obtain a copy of the License at | |
| 11 | // http://www.apache.org/licenses/LICENSE-2.0 | |
| 13 | // Unless required by applicable law or agreed to in writing, software | |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, | |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 16 | See the License for the specific language governing permissions and | |
| 17 | limitations under the License. | |
| 19 | namespace Google\Cloud\Monitoring\V3; | |
| 28 | cloud.google.com/monitoring/docs/), | |
| 30 | console.cloud.google.com/). |
AlertPolicyServiceGapicClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/monitoring/v3/alert_service.proto | |
| 54 | cloud.google.com/monitoring/docs/), | |
| 56 | console.cloud.google.com/). | |
| 65 | Iterate over pages of elements | |
| 69 | doSomethingWith($element); | |
| 74 | Alternatively: | |
| 76 | Iterate through all elements | |
| 79 | doSomethingWith($element); | |
| 121 | www.googleapis.com/auth/cloud-platform', | |
| 122 | www.googleapis.com/auth/monitoring', | |
| 123 | www.googleapis.com/auth/monitoring.read', | |
| 124 | www.googleapis.com/auth/monitoring.write', | |
| 281 | Swallow the exception to continue trying other path templates | |
| 353 | Iterate over pages of elements | |
| 357 | doSomethingWith($element); | |
| 362 | Alternatively: | |
| 364 | Iterate through all elements | |
| 367 | doSomethingWith($element); | |
| 391 | cloud.google.com/monitoring/api/v3/sorting-and-filtering). | |
| 398 | cloud.google.com/monitoring/api/v3/sorting-and-filtering). |
GroupServiceGapicClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/monitoring/v3/group_service.proto | |
| 51 | cloud.google.com#google.monitoring.v3.Group). | |
| 70 | Iterate over pages of elements | |
| 74 | doSomethingWith($element); | |
| 79 | Alternatively: | |
| 81 | Iterate through all elements | |
| 84 | doSomethingWith($element); | |
| 126 | www.googleapis.com/auth/cloud-platform', | |
| 127 | www.googleapis.com/auth/monitoring', | |
| 128 | www.googleapis.com/auth/monitoring.read', | |
| 129 | www.googleapis.com/auth/monitoring.write', | |
| 254 | Swallow the exception to continue trying other path templates | |
| 326 | Iterate over pages of elements | |
| 330 | doSomethingWith($element); | |
| 335 | Alternatively: | |
| 337 | Iterate through all elements | |
| 340 | doSomethingWith($element); | |
| 613 | Iterate over pages of elements | |
| 617 | doSomethingWith($element); | |
| 622 | Alternatively: | |
| 624 | Iterate through all elements | |
| 627 | doSomethingWith($element); | |
| 649 | cloud.google.com/monitoring/api/learn_more#filtering) describing |
MetricServiceGapicClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/monitoring/v3/metric_service.proto | |
| 67 | Iterate over pages of elements | |
| 71 | doSomethingWith($element); | |
| 76 | Alternatively: | |
| 78 | Iterate through all elements | |
| 81 | doSomethingWith($element); | |
| 123 | www.googleapis.com/auth/cloud-platform', | |
| 124 | www.googleapis.com/auth/monitoring', | |
| 125 | www.googleapis.com/auth/monitoring.read', | |
| 126 | www.googleapis.com/auth/monitoring.write', | |
| 281 | Swallow the exception to continue trying other path templates | |
| 353 | Iterate over pages of elements | |
| 357 | doSomethingWith($element); | |
| 362 | Alternatively: | |
| 364 | Iterate through all elements | |
| 367 | doSomethingWith($element); | |
| 380 | cloud.google.com/monitoring/api/v3/filters) describing | |
| 484 | Iterate over pages of elements | |
| 488 | doSomethingWith($element); | |
| 493 | Alternatively: | |
| 495 | Iterate through all elements | |
| 498 | doSomethingWith($element); | |
| 513 | cloud.google.com/monitoring/api/v3/filters) | |
| 516 | cloud.google.com/monitoring/custom-metrics): | |
| 611 | cloud.google.com/monitoring/custom-metrics). | |
| 627 | cloud.google.com/monitoring/custom-metrics) | |
| 660 | cloud.google.com/monitoring/custom-metrics) can be deleted. | |
| 714 | Iterate over pages of elements | |
| 718 | doSomethingWith($element); | |
| 723 | Alternatively: | |
| 725 | Iterate through all elements | |
| 728 | doSomethingWith($element); | |
| 737 | cloud.google.com/monitoring/api/v3/filters) that specifies which time |
NotificationChannelServiceGapicClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/monitoring/v3/notification_service.proto | |
| 62 | Iterate over pages of elements | |
| 66 | doSomethingWith($element); | |
| 71 | Alternatively: | |
| 73 | Iterate through all elements | |
| 76 | doSomethingWith($element); | |
| 118 | www.googleapis.com/auth/cloud-platform', | |
| 119 | www.googleapis.com/auth/monitoring', | |
| 120 | www.googleapis.com/auth/monitoring.read', | |
| 121 | www.googleapis.com/auth/monitoring.write', | |
| 276 | Swallow the exception to continue trying other path templates | |
| 349 | Iterate over pages of elements | |
| 353 | doSomethingWith($element); | |
| 358 | Alternatively: | |
| 360 | Iterate through all elements | |
| 363 | doSomethingWith($element); | |
| 475 | Iterate over pages of elements | |
| 479 | doSomethingWith($element); | |
| 484 | Alternatively: | |
| 486 | Iterate through all elements | |
| 489 | doSomethingWith($element); | |
| 510 | cloud.google.com/monitoring/api/v3/sorting-and-filtering). | |
| 517 | cloud.google.com/monitoring/api/v3/sorting-and-filtering). |
UptimeCheckServiceGapicClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/monitoring/v3/uptime_service.proto | |
| 55 | console.cloud.google.com), selecting the appropriate project, | |
| 66 | Iterate over pages of elements | |
| 70 | doSomethingWith($element); | |
| 75 | Alternatively: | |
| 77 | Iterate through all elements | |
| 80 | doSomethingWith($element); | |
| 122 | www.googleapis.com/auth/cloud-platform', | |
| 123 | www.googleapis.com/auth/monitoring', | |
| 124 | www.googleapis.com/auth/monitoring.read', | |
| 125 | www.googleapis.com/auth/monitoring.write', | |
| 250 | Swallow the exception to continue trying other path templates | |
| 323 | Iterate over pages of elements | |
| 327 | doSomethingWith($element); | |
| 332 | Alternatively: | |
| 334 | Iterate through all elements | |
| 337 | doSomethingWith($element); | |
| 595 | Iterate over pages of elements | |
| 599 | doSomethingWith($element); | |
| 604 | Alternatively: | |
| 606 | Iterate through all elements | |
| 609 | doSomethingWith($element); |
GroupServiceClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/monitoring/v3/group_service.proto | |
| 36 | This class is intentionally empty, and is intended to hold manual | |
| 37 | additions to the generated {@see GroupServiceGapicClient} class. |
GroupServiceGrpcClient.php
| Type | Line | Description |
|---|---|---|
| 2 | GENERATED CODE -- DO NOT EDIT! | |
| 4 | Original file comments: | |
| 5 | Copyright 2018 Google LLC | |
| 7 | // Licensed under the Apache License, Version 2.0 (the "License"); | |
| 8 | you may not use this file except in compliance with the License. | |
| 9 | You may obtain a copy of the License at | |
| 11 | // http://www.apache.org/licenses/LICENSE-2.0 | |
| 13 | // Unless required by applicable law or agreed to in writing, software | |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, | |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 16 | See the License for the specific language governing permissions and | |
| 17 | limitations under the License. | |
| 19 | namespace Google\Cloud\Monitoring\V3; |
TimeSeriesView.php
| Type | Line | Description |
|---|---|---|
| 30 | Adding a class alias for backwards compatibility with the previous class name. |
MetricServiceClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/monitoring/v3/metric_service.proto | |
| 36 | This class is intentionally empty, and is intended to hold manual | |
| 37 | additions to the generated {@see MetricServiceGapicClient} class. |
MetricServiceGrpcClient.php
| Type | Line | Description |
|---|---|---|
| 2 | GENERATED CODE -- DO NOT EDIT! | |
| 4 | Original file comments: | |
| 5 | Copyright 2018 Google LLC | |
| 7 | // Licensed under the Apache License, Version 2.0 (the "License"); | |
| 8 | you may not use this file except in compliance with the License. | |
| 9 | You may obtain a copy of the License at | |
| 11 | // http://www.apache.org/licenses/LICENSE-2.0 | |
| 13 | // Unless required by applicable law or agreed to in writing, software | |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, | |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 16 | See the License for the specific language governing permissions and | |
| 17 | limitations under the License. | |
| 19 | namespace Google\Cloud\Monitoring\V3; |
VerificationStatus.php
| Type | Line | Description |
|---|---|---|
| 46 | Adding a class alias for backwards compatibility with the previous class name. |
NotificationChannelServiceClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/monitoring/v3/notification_service.proto | |
| 36 | This class is intentionally empty, and is intended to hold manual | |
| 37 | additions to the generated {@see NotificationChannelServiceGapicClient} class. |
NotificationChannelServiceGrpcClient.php
| Type | Line | Description |
|---|---|---|
| 2 | GENERATED CODE -- DO NOT EDIT! | |
| 4 | Original file comments: | |
| 5 | Copyright 2018 Google LLC | |
| 7 | // Licensed under the Apache License, Version 2.0 (the "License"); | |
| 8 | you may not use this file except in compliance with the License. | |
| 9 | You may obtain a copy of the License at | |
| 11 | // http://www.apache.org/licenses/LICENSE-2.0 | |
| 13 | // Unless required by applicable law or agreed to in writing, software | |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, | |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 16 | See the License for the specific language governing permissions and | |
| 17 | limitations under the License. | |
| 19 | namespace Google\Cloud\Monitoring\V3; |
ServiceTier.php
| Type | Line | Description |
|---|---|---|
| 9 | cloud.google.com/monitoring/accounts/tiers) | |
| 27 | cloud.google.com/monitoring/accounts/tiers). | |
| 36 | cloud.google.com/monitoring/accounts/tiers). |
ContentMatcher.php
| Type | Line | Description |
|---|---|---|
| 70 | Adding a class alias for backwards compatibility with the previous class name. |
BasicAuthentication.php
| Type | Line | Description |
|---|---|---|
| 104 | Adding a class alias for backwards compatibility with the previous class name. |
HttpCheck.php
| Type | Line | Description |
|---|---|---|
| 63 | www.w3.org/Protocols/rfc2616/rfc2616.txt (page 31). | |
| 103 | www.w3.org/Protocols/rfc2616/rfc2616.txt (page 31). | |
| 269 | www.w3.org/Protocols/rfc2616/rfc2616.txt (page 31). | |
| 287 | www.w3.org/Protocols/rfc2616/rfc2616.txt (page 31). | |
| 306 | Adding a class alias for backwards compatibility with the previous class name. |
ResourceGroup.php
| Type | Line | Description |
|---|---|---|
| 107 | Adding a class alias for backwards compatibility with the previous class name. |
TcpCheck.php
| Type | Line | Description |
|---|---|---|
| 76 | Adding a class alias for backwards compatibility with the previous class name. |
UptimeCheckConfig.php
| Type | Line | Description |
|---|---|---|
| 108 | cloud.google.com/monitoring/api/resources) associated | |
| 221 | cloud.google.com/monitoring/api/resources) associated | |
| 240 | cloud.google.com/monitoring/api/resources) associated |
UptimeCheckServiceClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/monitoring/v3/uptime_service.proto | |
| 36 | This class is intentionally empty, and is intended to hold manual | |
| 37 | additions to the generated {@see UptimeCheckServiceGapicClient} class. |
UptimeCheckServiceGrpcClient.php
| Type | Line | Description |
|---|---|---|
| 2 | GENERATED CODE -- DO NOT EDIT! | |
| 4 | Original file comments: | |
| 5 | Copyright 2018 Google LLC | |
| 7 | // Licensed under the Apache License, Version 2.0 (the "License"); | |
| 8 | you may not use this file except in compliance with the License. | |
| 9 | You may obtain a copy of the License at | |
| 11 | // http://www.apache.org/licenses/LICENSE-2.0 | |
| 13 | // Unless required by applicable law or agreed to in writing, software | |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, | |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 16 | See the License for the specific language governing permissions and | |
| 17 | limitations under the License. | |
| 19 | namespace Google\Cloud\Monitoring\V3; | |
| 27 | console.cloud.google.com), selecting the appropriate project, |
SshPublicKey.php
| Type | Line | Description |
|---|---|---|
| 20 | www.ietf.org/rfc/rfc4253.txt" target="_blank">RFC4253</a> | |
| 47 | www.ietf.org/rfc/rfc4253.txt" target="_blank">RFC4253</a> | |
| 62 | www.ietf.org/rfc/rfc4253.txt" target="_blank">RFC4253</a> | |
| 75 | www.ietf.org/rfc/rfc4253.txt" target="_blank">RFC4253</a> |
OsLoginServiceGapicClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/cloud/oslogin/v1/oslogin.proto | |
| 103 | www.googleapis.com/auth/cloud-platform', | |
| 104 | www.googleapis.com/auth/cloud-platform.read-only', | |
| 105 | www.googleapis.com/auth/compute', | |
| 106 | www.googleapis.com/auth/compute.readonly', | |
| 261 | Swallow the exception to continue trying other path templates |
OsLoginServiceClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/cloud/oslogin/v1/oslogin.proto | |
| 36 | This class is intentionally empty, and is intended to hold manual | |
| 37 | additions to the generated {@see OsLoginServiceGapicClient} class. |
OsLoginServiceGrpcClient.php
| Type | Line | Description |
|---|---|---|
| 2 | GENERATED CODE -- DO NOT EDIT! | |
| 4 | Original file comments: | |
| 5 | Copyright 2018 Google Inc. | |
| 7 | // Licensed under the Apache License, Version 2.0 (the "License"); | |
| 8 | you may not use this file except in compliance with the License. | |
| 9 | You may obtain a copy of the License at | |
| 11 | // http://www.apache.org/licenses/LICENSE-2.0 | |
| 13 | // Unless required by applicable law or agreed to in writing, software | |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, | |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 16 | See the License for the specific language governing permissions and | |
| 17 | limitations under the License. | |
| 19 | namespace Google\Cloud\OsLogin\V1; |
OsLoginServiceGapicClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/cloud/oslogin/v1beta/oslogin.proto | |
| 103 | www.googleapis.com/auth/cloud-platform', | |
| 104 | www.googleapis.com/auth/cloud-platform.read-only', | |
| 105 | www.googleapis.com/auth/compute', | |
| 106 | www.googleapis.com/auth/compute.readonly', | |
| 261 | Swallow the exception to continue trying other path templates |
OsLoginServiceClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/cloud/oslogin/v1beta/oslogin.proto | |
| 36 | This class is intentionally empty, and is intended to hold manual | |
| 37 | additions to the generated {@see OsLoginServiceGapicClient} class. |
OsLoginServiceGrpcClient.php
| Type | Line | Description |
|---|---|---|
| 2 | GENERATED CODE -- DO NOT EDIT! | |
| 4 | Original file comments: | |
| 5 | Copyright 2017 Google Inc. | |
| 7 | // Licensed under the Apache License, Version 2.0 (the "License"); | |
| 8 | you may not use this file except in compliance with the License. | |
| 9 | You may obtain a copy of the License at | |
| 11 | // http://www.apache.org/licenses/LICENSE-2.0 | |
| 13 | // Unless required by applicable law or agreed to in writing, software | |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, | |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 16 | See the License for the specific language governing permissions and | |
| 17 | limitations under the License. | |
| 19 | namespace Google\Cloud\OsLogin\V1beta; |
BatchPublisher.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 85 | cloud.google.com/pubsub/docs/reference/rest/v1/PubsubMessage). |
ConnectionInterface.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 22 | cloud.google.com/pubsub). |
Grpc.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 37 | cloud.google.com/pubsub/docs/reference/rpc/). | |
| 44 | pubsub.googleapis.com/'; | |
| 194 | Get a list of keys used before building subscription, which modifies $args | |
| 197 | Remove immutable properties. |
IamSubscription.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
IamTopic.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
Rest.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 29 | cloud.google.com/pubsub/docs/reference/rest/). | |
| 40 | pubsub.googleapis.com/'; |
IncomingMessageTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
Message.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 55 | cloud.google.com/pubsub/docs/reference/rest/v1/PubsubMessage). |
PubSubClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 35 | cloud.google.com/pubsub/docs/). | |
| 37 | cloud.google.com/pubsub/emulator), | |
| 38 | cloud.google.com/pubsub/emulator#env) | |
| 42 | cloud.google.com/pubsub/docs/reference/rest/) or | |
| 43 | cloud.google.com/pubsub/docs/reference/rpc/). | |
| 57 | pecl.php.net). | |
| 71 | Using the Pub/Sub Emulator | |
| 74 | Be sure to use the port specified when starting the emulator. | |
| 75 | `8900` is used as an example only. | |
| 76 | localhost:8900'); | |
| 90 | www.googleapis.com/auth/pubsub'; | |
| 172 | `projects/my-awesome-project/topics/my-new-topic` | |
| 175 | cloud.google.com/pubsub/docs/reference/rest/v1/projects.topics/create Create Topic | |
| 197 | No API request yet! | |
| 200 | This will execute an API call. | |
| 201 | `projects/my-awesome-project/topics/my-new-topic` | |
| 220 | `projects/my-awesome-project/topics/my-new-topic` | |
| 224 | cloud.google.com/pubsub/docs/reference/rest/v1/projects.topics/list List Topics | |
| 267 | Create a subscription. If it doesn't exist in the API, it will be created. | |
| 271 | cloud.google.com/pubsub/docs/reference/rest/v1/projects.subscriptions/create Create Subscription | |
| 319 | `projects/my-awesome-project/subscriptions/<subscription-name>` | |
| 323 | cloud.google.com/pubsub/docs/reference/rest/v1/projects.subscriptions/list List Subscriptions | |
| 462 | input'); | |
| 519 | cloud.google.com/pubsub/docs/reference/rest/v1/projects.topics#Topic). | |
| 543 | cloud.google.com/pubsub/docs/reference/rest/v1/projects.subscriptions#Subscription). |
ResourceNameTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 53 | `my-topic-name` | |
| 81 | `projects/my-awesome-project/topics/my-topic-name` | |
| 109 | do stuff |
Snapshot.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 97 | Accept either a simple name or a fully-qualified name. |
Subscription.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 36 | Create subscription through a topic | |
| 47 | Create subscription through PubSubClient | |
| 127 | Accept either a simple name or a fully-qualified name. | |
| 134 | Accept either a simple name or a fully-qualified name. | |
| 166 | cloud.google.com/pubsub/docs/reference/rest/v1/projects.subscriptions#Subscription). | |
| 179 | cloud.google.com/pubsub/docs/reference/rest/v1/projects.subscriptions/create Create Subscription | |
| 185 | cloud.google.com/pubsub/docs/reference/rest/v1/projects.subscriptions#PushConfig). | |
| 189 | example.com/push". | |
| 209 | If a subscription is created via PubSubClient::subscription(), | |
| 210 | it may or may not have a topic name. This is fine for most API | |
| 211 | interactions, but a topic name is required to create a subscription. | |
| 242 | cloud.google.com/pubsub/docs/reference/rest/v1/projects.subscriptions#PushConfig). | |
| 246 | example.com/push". | |
| 279 | cloud.google.com/pubsub/docs/reference/rest/v1/projects.subscriptions/delete Delete Subscription | |
| 331 | `projects/my-awesome-project/subscriptions/my-new-subscription` | |
| 334 | cloud.google.com/pubsub/docs/reference/rest/v1/projects.subscriptions/get Get Subscription | |
| 358 | `projects/my-awesome-project/subscriptions/my-new-subscription` | |
| 361 | cloud.google.com/pubsub/docs/reference/rest/v1/projects.subscriptions/get Get Subscription | |
| 384 | cloud.google.com/pubsub/docs/reference/rest/v1/projects.subscriptions/pull Pull Subscriptions | |
| 435 | cloud.google.com/pubsub/docs/reference/rest/v1/projects.subscriptions/acknowledge Acknowledge Message | |
| 461 | cloud.google.com/pubsub/docs/reference/rest/v1/projects.subscriptions/acknowledge Acknowledge Message | |
| 492 | Now we'll acknowledge! | |
| 500 | cloud.google.com/pubsub/docs/reference/rest/v1/projects.subscriptions/modifyAckDeadline Modify Ack Deadline | |
| 528 | Set the ack deadline to three seconds from now for every message | |
| 531 | Delay execution, or make a sandwich or something. | |
| 534 | Now we'll acknowledge | |
| 539 | cloud.google.com/pubsub/docs/reference/rest/v1/projects.subscriptions/modifyAckDeadline Modify Ack Deadline | |
| 569 | www.example.com/foo/bar' | |
| 574 | cloud.google.com/pubsub/docs/reference/rest/v1/projects.subscriptions/modifyPushConfig Modify Push Config | |
| 579 | cloud.google.com/pubsub/docs/reference/rest/v1/projects.subscriptions#PushConfig) | |
| 584 | example.com/push". | |
| 658 | cloud.google.com/pubsub/access_control PubSub Access Control Documentation | |
| 659 | cloud.google.com/pubsub/docs/reference/rest/v1/projects.subscriptions/getIamPolicy Get Subscription IAM Policy | |
| 660 | cloud.google.com/pubsub/docs/reference/rest/v1/projects.subscriptions/setIamPolicy Set Subscription IAM Policy | |
| 661 | cloud.google.com/pubsub/docs/reference/rest/v1/projects.subscriptions/testIamPermissions Test Subscription Permissions |
Topic.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 43 | You can also pass a fully-qualified topic name: | |
| 95 | cloud.google.com/pubsub/docs/reference/rest/v1/projects.topics) | |
| 117 | Accept either a simple name or a fully-qualified name. | |
| 148 | cloud.google.com/pubsub/docs/reference/rest/v1/projects.topics/create Create Topic | |
| 170 | cloud.google.com/pubsub/docs/reference/rest/v1/projects.topics/delete Delete Topic | |
| 224 | projects/my-awesome-project/topics/my-new-topic | |
| 227 | cloud.google.com/pubsub/docs/reference/rest/v1/projects.topics/get Get Topic | |
| 231 | cloud.google.com/pubsub/docs/reference/rest/v1/projects.topics) | |
| 259 | projects/my-awesome-project/topics/my-new-topic | |
| 262 | cloud.google.com/pubsub/docs/reference/rest/v1/projects.topics/get Get Topic | |
| 266 | cloud.google.com/pubsub/docs/reference/rest/v1/projects.topics) | |
| 293 | cloud.google.com/pubsub/docs/reference/rest/v1/projects.topics/publish Publish Message | |
| 295 | cloud.google.com/pubsub/docs/reference/rest/v1/PubsubMessage). | |
| 328 | cloud.google.com/pubsub/docs/reference/rest/v1/projects.topics/publish Publish Message | |
| 331 | cloud.google.com/pubsub/docs/reference/rest/v1/PubsubMessage). | |
| 418 | cloud.google.com/pubsub/docs/reference/rest/v1/projects.subscriptions/create Create Subscription | |
| 463 | cloud.google.com/pubsub/docs/reference/rest/v1/projects.topics.subscriptions/list List Topic Subscriptions | |
| 505 | cloud.google.com/pubsub/access_control PubSub Access Control Documentation | |
| 506 | cloud.google.com/pubsub/docs/reference/rest/v1/projects.topics/getIamPolicy Get Topic IAM Policy | |
| 507 | cloud.google.com/pubsub/docs/reference/rest/v1/projects.topics/setIamPolicy Set Topic IAM Policy | |
| 508 | cloud.google.com/pubsub/docs/reference/rest/v1/projects.topics/testIamPermissions Test Topic Permissions | |
| 571 | cloud.google.com/pubsub/docs/reference/rest/v1/projects.subscriptions#Subscription) |
CreateSnapshotRequest.php
| Type | Line | Description |
|---|---|---|
| 26 | cloud.google.com/pubsub/docs/admin#resource_names">resource name rules</a>. | |
| 47 | cloud.google.com/pubsub/docs/labels"> Creating and managing labels</a>. | |
| 64 | cloud.google.com/pubsub/docs/admin#resource_names">resource name rules</a>. | |
| 77 | cloud.google.com/pubsub/docs/labels"> Creating and managing labels</a>. | |
| 90 | cloud.google.com/pubsub/docs/admin#resource_names">resource name rules</a>. | |
| 106 | cloud.google.com/pubsub/docs/admin#resource_names">resource name rules</a>. | |
| 164 | cloud.google.com/pubsub/docs/labels"> Creating and managing labels</a>. | |
| 175 | cloud.google.com/pubsub/docs/labels"> Creating and managing labels</a>. |
PublisherGapicClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/pubsub/v1/pubsub.proto | |
| 110 | www.googleapis.com/auth/cloud-platform', | |
| 111 | www.googleapis.com/auth/pubsub', | |
| 236 | Swallow the exception to continue trying other path templates | |
| 302 | cloud.google.com/pubsub/docs/admin#resource_names"> resource name rules</a>. | |
| 325 | cloud.google.com/pubsub/docs/labels"> Creating and managing labels</a>. | |
| 518 | Iterate over pages of elements | |
| 522 | doSomethingWith($element); | |
| 527 | Alternatively: | |
| 529 | Iterate through all elements | |
| 532 | doSomethingWith($element); | |
| 592 | Iterate over pages of elements | |
| 596 | doSomethingWith($element); | |
| 601 | Alternatively: | |
| 603 | Iterate through all elements | |
| 606 | doSomethingWith($element); | |
| 830 | cloud.google.com/iam/docs/overview#permissions). |
SubscriberGapicClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/pubsub/v1/pubsub.proto | |
| 125 | www.googleapis.com/auth/cloud-platform', | |
| 126 | www.googleapis.com/auth/pubsub', | |
| 311 | Swallow the exception to continue trying other path templates | |
| 377 | cloud.google.com/pubsub/docs/admin#resource_names"> resource name rules</a>. | |
| 384 | cloud.google.com/pubsub/docs/overview#names). | |
| 457 | cloud.google.com/pubsub/docs/labels"> Creating and managing labels</a>. | |
| 617 | Iterate over pages of elements | |
| 621 | doSomethingWith($element); | |
| 626 | Alternatively: | |
| 628 | Iterate through all elements | |
| 631 | doSomethingWith($element); | |
| 915 | Write all requests to the server, then read all responses until the | |
| 916 | stream is complete | |
| 921 | doSomethingWith($element); | |
| 925 | Alternatively: | |
| 927 | Write requests individually, making read() calls if | |
| 928 | required. Call closeWrite() once writes are complete, and read the | |
| 929 | remaining responses from the server. | |
| 934 | if required, read a single response from the stream | |
| 936 | doSomethingWith($element) | |
| 941 | doSomethingWith($element) | |
| 1038 | Iterate over pages of elements | |
| 1042 | doSomethingWith($element); | |
| 1047 | Alternatively: | |
| 1049 | Iterate through all elements | |
| 1052 | doSomethingWith($element); | |
| 1116 | cloud.google.com/pubsub/docs/overview#names). | |
| 1137 | cloud.google.com/pubsub/docs/admin#resource_names">resource name rules</a>. | |
| 1152 | cloud.google.com/pubsub/docs/labels"> Creating and managing labels</a>. | |
| 1484 | cloud.google.com/iam/docs/overview#permissions). |
PublisherClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/pubsub/v1/pubsub.proto | |
| 36 | This class is intentionally empty, and is intended to hold manual | |
| 37 | additions to the generated {@see PublisherGapicClient} class. |
PublisherGrpcClient.php
| Type | Line | Description |
|---|---|---|
| 2 | GENERATED CODE -- DO NOT EDIT! | |
| 4 | Original file comments: | |
| 5 | Copyright 2017 Google LLC. | |
| 7 | // Licensed under the Apache License, Version 2.0 (the "License"); | |
| 8 | you may not use this file except in compliance with the License. | |
| 9 | You may obtain a copy of the License at | |
| 11 | // http://www.apache.org/licenses/LICENSE-2.0 | |
| 13 | // Unless required by applicable law or agreed to in writing, software | |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, | |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 16 | See the License for the specific language governing permissions and | |
| 17 | limitations under the License. | |
| 19 | // | |
| 39 | cloud.google.com/pubsub/docs/admin#resource_names"> resource name rules</a>. |
PushConfig.php
| Type | Line | Description |
|---|---|---|
| 20 | example.com/push". | |
| 55 | example.com/push". | |
| 82 | example.com/push". | |
| 94 | example.com/push". |
Snapshot.php
| Type | Line | Description |
|---|---|---|
| 49 | cloud.google.com/pubsub/docs/labels"> Creating and managing labels</a>. | |
| 77 | cloud.google.com/pubsub/docs/labels"> Creating and managing labels</a>. | |
| 182 | cloud.google.com/pubsub/docs/labels"> Creating and managing labels</a>. | |
| 193 | cloud.google.com/pubsub/docs/labels"> Creating and managing labels</a>. |
SubscriberClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/pubsub/v1/pubsub.proto | |
| 36 | This class is intentionally empty, and is intended to hold manual | |
| 37 | additions to the generated {@see SubscriberGapicClient} class. |
SubscriberGrpcClient.php
| Type | Line | Description |
|---|---|---|
| 2 | GENERATED CODE -- DO NOT EDIT! | |
| 4 | Original file comments: | |
| 5 | Copyright 2017 Google LLC. | |
| 7 | // Licensed under the Apache License, Version 2.0 (the "License"); | |
| 8 | you may not use this file except in compliance with the License. | |
| 9 | You may obtain a copy of the License at | |
| 11 | // http://www.apache.org/licenses/LICENSE-2.0 | |
| 13 | // Unless required by applicable law or agreed to in writing, software | |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, | |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 16 | See the License for the specific language governing permissions and | |
| 17 | limitations under the License. | |
| 19 | // | |
| 40 | cloud.google.com/pubsub/docs/admin#resource_names"> resource name rules</a>. | |
| 47 | cloud.google.com/pubsub/docs/overview#names). | |
| 259 | cloud.google.com/pubsub/docs/overview#names). |
Subscription.php
| Type | Line | Description |
|---|---|---|
| 95 | cloud.google.com/pubsub/docs/labels"> Creating and managing labels</a>. | |
| 174 | cloud.google.com/pubsub/docs/labels"> Creating and managing labels</a>. | |
| 429 | cloud.google.com/pubsub/docs/labels"> Creating and managing labels</a>. | |
| 440 | cloud.google.com/pubsub/docs/labels"> Creating and managing labels</a>. |
Topic.php
| Type | Line | Description |
|---|---|---|
| 30 | cloud.google.com/pubsub/docs/labels"> Creating and managing labels</a>. | |
| 61 | cloud.google.com/pubsub/docs/labels"> Creating and managing labels</a>. | |
| 113 | cloud.google.com/pubsub/docs/labels"> Creating and managing labels</a>. | |
| 124 | cloud.google.com/pubsub/docs/labels"> Creating and managing labels</a>. |
CloudRedisClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/cloud/redis/v1/cloud_redis.proto | |
| 45 | If transport is set to anything other than rest, take no action | |
| 46 | and process as usual in setClientOptions | |
| 48 | If transport is not set, default to grpc. |
CloudRedisGrpcClient.php
| Type | Line | Description |
|---|---|---|
| 2 | GENERATED CODE -- DO NOT EDIT! | |
| 4 | Original file comments: | |
| 5 | Copyright 2018 Google LLC | |
| 7 | // Licensed under the Apache License, Version 2.0 (the "License"); | |
| 8 | you may not use this file except in compliance with the License. | |
| 9 | You may obtain a copy of the License at | |
| 11 | // http://www.apache.org/licenses/LICENSE-2.0 | |
| 13 | // Unless required by applicable law or agreed to in writing, software | |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, | |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 16 | See the License for the specific language governing permissions and | |
| 17 | limitations under the License. | |
| 19 | namespace Google\Cloud\Redis\V1; |
CloudRedisGapicClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/cloud/redis/v1/cloud_redis.proto | |
| 73 | Iterate over pages of elements | |
| 77 | doSomethingWith($element); | |
| 82 | Alternatively: | |
| 84 | Iterate through all elements | |
| 87 | doSomethingWith($element); | |
| 129 | www.googleapis.com/auth/cloud-platform', | |
| 260 | Swallow the exception to continue trying other path templates | |
| 375 | Iterate over pages of elements | |
| 379 | doSomethingWith($element); | |
| 384 | Alternatively: | |
| 386 | Iterate through all elements | |
| 389 | doSomethingWith($element); | |
| 491 | cloud.google.com/compute/docs/networks-and-firewalls#networks). | |
| 516 | doSomethingWith($result) | |
| 519 | handleError($error) | |
| 523 | Alternatively: | |
| 525 | start the operation, keep the operation name, and resume later | |
| 528 | ... do other work | |
| 531 | ... do other work | |
| 536 | doSomethingWith($result) | |
| 539 | handleError($error) | |
| 613 | doSomethingWith($result) | |
| 616 | handleError($error) | |
| 620 | Alternatively: | |
| 622 | start the operation, keep the operation name, and resume later | |
| 625 | ... do other work | |
| 628 | ... do other work | |
| 633 | doSomethingWith($result) | |
| 636 | handleError($error) | |
| 694 | operation succeeded and returns no value | |
| 697 | handleError($error) | |
| 701 | Alternatively: | |
| 703 | start the operation, keep the operation name, and resume later | |
| 706 | ... do other work | |
| 709 | ... do other work | |
| 713 | operation succeeded and returns no value | |
| 716 | handleError($error) |
State.php
| Type | Line | Description |
|---|---|---|
| 61 | Adding a class alias for backwards compatibility with the previous class name. |
Tier.php
| Type | Line | Description |
|---|---|---|
| 34 | Adding a class alias for backwards compatibility with the previous class name. |
Instance.php
| Type | Line | Description |
|---|---|---|
| 123 | redis.io/topics/config. Currently, the only supported parameters | |
| 212 | redis.io/topics/config. Currently, the only supported parameters | |
| 622 | redis.io/topics/config. Currently, the only supported parameters | |
| 637 | redis.io/topics/config. Currently, the only supported parameters |
CloudRedisClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/cloud/redis/v1beta1/cloud_redis.proto | |
| 50 | If transport is set to anything other than rest, take no action | |
| 51 | and process as usual in setClientOptions | |
| 53 | If transport is not set, default to grpc. |
CloudRedisGrpcClient.php
| Type | Line | Description |
|---|---|---|
| 2 | GENERATED CODE -- DO NOT EDIT! | |
| 4 | Original file comments: | |
| 5 | Copyright 2018 Google Inc. | |
| 7 | // Licensed under the Apache License, Version 2.0 (the "License"); | |
| 8 | you may not use this file except in compliance with the License. | |
| 9 | You may obtain a copy of the License at | |
| 11 | // http://www.apache.org/licenses/LICENSE-2.0 | |
| 13 | // Unless required by applicable law or agreed to in writing, software | |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, | |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 16 | See the License for the specific language governing permissions and | |
| 17 | limitations under the License. | |
| 19 | namespace Google\Cloud\Redis\V1beta1; |
CloudRedisGapicClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/cloud/redis/v1beta1/cloud_redis.proto | |
| 74 | Iterate over pages of elements | |
| 78 | doSomethingWith($element); | |
| 83 | Alternatively: | |
| 85 | Iterate through all elements | |
| 88 | doSomethingWith($element); | |
| 130 | www.googleapis.com/auth/cloud-platform', | |
| 261 | Swallow the exception to continue trying other path templates | |
| 376 | Iterate over pages of elements | |
| 380 | doSomethingWith($element); | |
| 385 | Alternatively: | |
| 387 | Iterate through all elements | |
| 390 | doSomethingWith($element); | |
| 492 | cloud.google.com/compute/docs/networks-and-firewalls#networks). | |
| 517 | doSomethingWith($result) | |
| 520 | handleError($error) | |
| 524 | Alternatively: | |
| 526 | start the operation, keep the operation name, and resume later | |
| 529 | ... do other work | |
| 532 | ... do other work | |
| 537 | doSomethingWith($result) | |
| 540 | handleError($error) | |
| 614 | doSomethingWith($result) | |
| 617 | handleError($error) | |
| 621 | Alternatively: | |
| 623 | start the operation, keep the operation name, and resume later | |
| 626 | ... do other work | |
| 629 | ... do other work | |
| 634 | doSomethingWith($result) | |
| 637 | handleError($error) | |
| 694 | operation succeeded and returns no value | |
| 697 | handleError($error) | |
| 701 | Alternatively: | |
| 703 | start the operation, keep the operation name, and resume later | |
| 706 | ... do other work | |
| 709 | ... do other work | |
| 713 | operation succeeded and returns no value | |
| 716 | handleError($error) |
State.php
| Type | Line | Description |
|---|---|---|
| 61 | Adding a class alias for backwards compatibility with the previous class name. |
Tier.php
| Type | Line | Description |
|---|---|---|
| 34 | Adding a class alias for backwards compatibility with the previous class name. |
Instance.php
| Type | Line | Description |
|---|---|---|
| 121 | redis.io/topics/config. Currently, the only supported parameters | |
| 208 | redis.io/topics/config. Currently, the only supported parameters | |
| 614 | redis.io/topics/config. Currently, the only supported parameters | |
| 629 | redis.io/topics/config. Currently, the only supported parameters |
State.php
| Type | Line | Description |
|---|---|---|
| 35 | Adding a class alias for backwards compatibility with the previous class name. |
DatabaseAdminClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/spanner/admin/database/v1/spanner_database_admin.proto | |
| 40 | This class is intentionally empty, and is intended to hold manual | |
| 41 | additions to the generated {@see DatabaseAdminGapicClient} class. |
DatabaseAdminGrpcClient.php
| Type | Line | Description |
|---|---|---|
| 2 | GENERATED CODE -- DO NOT EDIT! | |
| 4 | Original file comments: | |
| 5 | Copyright 2018 Google LLC | |
| 7 | // Licensed under the Apache License, Version 2.0 (the "License"); | |
| 8 | you may not use this file except in compliance with the License. | |
| 9 | You may obtain a copy of the License at | |
| 11 | // http://www.apache.org/licenses/LICENSE-2.0 | |
| 13 | // Unless required by applicable law or agreed to in writing, software | |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, | |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 16 | See the License for the specific language governing permissions and | |
| 17 | limitations under the License. | |
| 19 | namespace Google\Cloud\Spanner\Admin\Database\V1; |
DatabaseAdminGapicClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/spanner/admin/database/v1/spanner_database_admin.proto | |
| 72 | Iterate over pages of elements | |
| 76 | doSomethingWith($element); | |
| 81 | Alternatively: | |
| 83 | Iterate through all elements | |
| 86 | doSomethingWith($element); | |
| 128 | www.googleapis.com/auth/cloud-platform', | |
| 129 | www.googleapis.com/auth/spanner.admin', | |
| 260 | Swallow the exception to continue trying other path templates | |
| 368 | Iterate over pages of elements | |
| 372 | doSomethingWith($element); | |
| 377 | Alternatively: | |
| 379 | Iterate through all elements | |
| 382 | doSomethingWith($element); | |
| 454 | doSomethingWith($result) | |
| 457 | handleError($error) | |
| 461 | Alternatively: | |
| 463 | start the operation, keep the operation name, and resume later | |
| 466 | ... do other work | |
| 469 | ... do other work | |
| 474 | doSomethingWith($result) | |
| 477 | handleError($error) | |
| 590 | operation succeeded and returns no value | |
| 593 | handleError($error) | |
| 597 | Alternatively: | |
| 599 | start the operation, keep the operation name, and resume later | |
| 602 | ... do other work | |
| 605 | ... do other work | |
| 609 | operation succeeded and returns no value | |
| 612 | handleError($error) | |
| 889 | cloud.google.com/iam/docs/overview#permissions). |
InstanceAdminGapicClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/spanner/admin/instance/v1/spanner_instance_admin.proto | |
| 91 | Iterate over pages of elements | |
| 95 | doSomethingWith($element); | |
| 100 | Alternatively: | |
| 102 | Iterate through all elements | |
| 105 | doSomethingWith($element); | |
| 147 | www.googleapis.com/auth/cloud-platform', | |
| 148 | www.googleapis.com/auth/spanner.admin', | |
| 305 | Swallow the exception to continue trying other path templates | |
| 413 | Iterate over pages of elements | |
| 417 | doSomethingWith($element); | |
| 422 | Alternatively: | |
| 424 | Iterate through all elements | |
| 427 | doSomethingWith($element); | |
| 532 | Iterate over pages of elements | |
| 536 | doSomethingWith($element); | |
| 541 | Alternatively: | |
| 543 | Iterate through all elements | |
| 546 | doSomethingWith($element); | |
| 712 | doSomethingWith($result) | |
| 715 | handleError($error) | |
| 719 | Alternatively: | |
| 721 | start the operation, keep the operation name, and resume later | |
| 724 | ... do other work | |
| 727 | ... do other work | |
| 732 | doSomethingWith($result) | |
| 735 | handleError($error) | |
| 831 | doSomethingWith($result) | |
| 834 | handleError($error) | |
| 838 | Alternatively: | |
| 840 | start the operation, keep the operation name, and resume later | |
| 843 | ... do other work | |
| 846 | ... do other work | |
| 851 | doSomethingWith($result) | |
| 854 | handleError($error) | |
| 1078 | cloud.google.com/iam/docs/overview#permissions). |
State.php
| Type | Line | Description |
|---|---|---|
| 37 | Adding a class alias for backwards compatibility with the previous class name. |
Instance.php
| Type | Line | Description |
|---|---|---|
| 46 | cloud.google.com/spanner/docs/instances#node_count) | |
| 74 | goo.gl/xmQnxf for more information on and examples of labels. | |
| 108 | cloud.google.com/spanner/docs/instances#node_count) | |
| 128 | goo.gl/xmQnxf for more information on and examples of labels. | |
| 237 | cloud.google.com/spanner/docs/instances#node_count) | |
| 251 | cloud.google.com/spanner/docs/instances#node_count) | |
| 312 | goo.gl/xmQnxf for more information on and examples of labels. | |
| 340 | goo.gl/xmQnxf for more information on and examples of labels. |
InstanceAdminClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/spanner/admin/instance/v1/spanner_instance_admin.proto | |
| 40 | This class is intentionally empty, and is intended to hold manual | |
| 41 | additions to the generated {@see InstanceAdminGapicClient} class. |
InstanceAdminGrpcClient.php
| Type | Line | Description |
|---|---|---|
| 2 | GENERATED CODE -- DO NOT EDIT! | |
| 4 | Original file comments: | |
| 5 | Copyright 2018 Google LLC | |
| 7 | // Licensed under the Apache License, Version 2.0 (the "License"); | |
| 8 | you may not use this file except in compliance with the License. | |
| 9 | You may obtain a copy of the License at | |
| 11 | // http://www.apache.org/licenses/LICENSE-2.0 | |
| 13 | // Unless required by applicable law or agreed to in writing, software | |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, | |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 16 | See the License for the specific language governing permissions and | |
| 17 | limitations under the License. | |
| 19 | namespace Google\Cloud\Spanner\Admin\Instance\V1; |
ArrayType.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 46 | `foo` | |
| 50 | Arrays may contain structs. |
BatchClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 44 | Using Cloud Pub/Sub to share partitions with workers | |
| 52 | Executing a partition query will return a list of Partitions. | |
| 60 | Each partition is published to Cloud Pub/Sub, where it can be executed by | |
| 61 | a worker. | |
| 71 | Once all workers have finished, we will close the snapshot. | |
| 72 | The logic to determine whether the snapshot is no longer needed will vary | |
| 73 | and is not implemented here. | |
| 84 | Using Cloud Pub/Sub to consume a partition and return a result. | |
| 100 | Do something with the query result. | |
| 152 | cloud.google.com/spanner/reference/rpc/google.spanner.v1#google.spanner.v1.TransactionOptions.ReadOnly) | |
| 171 | Single Use transactions are not supported in batch mode. |
BatchSnapshot.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 50 | Serialize a snapshot to share it with another worker. | |
| 55 | Calling BatchSnapshot::serialize() has the same effect. |
PartitionInterface.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
PartitionTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
QueryPartition.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 56 | Serialize a partition to share it with another worker. | |
| 61 | Calling QueryPartition::serialize() has the same effect. |
ReadPartition.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 50 | Serialize a partition to share it with another worker. | |
| 55 | Calling ReadPartition::serialize() has the same effect. |
Bytes.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 25 | cloud.google.com/spanner/docs/reference/rpc/google.spanner.v1#google.spanner.v1.TypeCode). | |
| 37 | Byte instances can be cast to base64-encoded strings. |
CommitTimestamp.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
ConnectionInterface.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
Grpc.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
IamDatabase.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
IamInstance.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
LongRunningConnection.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
Database.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 51 | Databases can also be connected to via an Instance. | |
| 226 | cloud.google.com/spanner/docs/reference/rpc/google.spanner.admin.database.v1#google.spanner.admin.database.v1.Database Database | |
| 246 | cloud.google.com/spanner/docs/reference/rpc/google.spanner.admin.database.v1#google.spanner.admin.database.v1.Database Database | |
| 264 | www.googleapis.com/auth/spanner.admin` scope. | |
| 296 | cloud.google.com/spanner/reference/rpc/google.spanner.admin.database.v1#createdatabaserequest CreateDatabaseRequest | |
| 327 | www.googleapis.com/auth/spanner.admin` scope. | |
| 341 | cloud.google.com/spanner/docs/data-definition-language Data Definition Language | |
| 342 | cloud.google.com/spanner/reference/rpc/google.spanner.admin.database.v1#google.spanner.admin.database.v1.UpdateDatabaseDdlRequest UpdateDDLRequest | |
| 357 | www.googleapis.com/auth/spanner.admin` scope. | |
| 376 | cloud.google.com/spanner/docs/data-definition-language Data Definition Language | |
| 377 | cloud.google.com/spanner/reference/rpc/google.spanner.admin.database.v1#google.spanner.admin.database.v1.UpdateDatabaseDdlRequest UpdateDDLRequest | |
| 402 | www.googleapis.com/auth/spanner.admin` scope. | |
| 410 | cloud.google.com/spanner/reference/rpc/google.spanner.admin.database.v1#google.spanner.admin.database.v1.DropDatabaseRequest DropDatabaseRequest | |
| 435 | www.googleapis.com/auth/spanner.admin` scope. | |
| 443 | cloud.google.com/spanner/reference/rpc/google.spanner.admin.database.v1#getdatabaseddlrequest GetDatabaseDdlRequest | |
| 498 | Take a shapshot with a returned timestamp. | |
| 507 | cloud.google.com/spanner/reference/rpc/google.spanner.v1#google.spanner.v1.BeginTransactionRequest BeginTransactionRequest | |
| 508 | cloud.google.com/spanner/docs/transactions Transactions | |
| 513 | cloud.google.com/spanner/reference/rpc/google.spanner.v1#google.spanner.v1.TransactionOptions.ReadOnly) | |
| 592 | cloud.google.com/spanner/reference/rpc/google.spanner.v1#google.spanner.v1.BeginTransactionRequest BeginTransactionRequest | |
| 593 | cloud.google.com/spanner/docs/transactions Transactions | |
| 616 | There isn't anything configurable here. | |
| 672 | Do something here to grant the user access. | |
| 673 | Maybe set a cookie? | |
| 687 | cloud.google.com/spanner/reference/rpc/google.spanner.v1#google.spanner.v1.BeginTransactionRequest BeginTransactionRequest | |
| 688 | cloud.google.com/spanner/docs/transactions Transactions | |
| 722 | There isn't anything configurable here. | |
| 756 | Prevent nested transactions. | |
| 803 | cloud.google.com/spanner/reference/rpc/google.spanner.v1#google.spanner.v1.CommitRequest CommitRequest | |
| 842 | cloud.google.com/spanner/reference/rpc/google.spanner.v1#google.spanner.v1.CommitRequest CommitRequest | |
| 878 | cloud.google.com/spanner/reference/rpc/google.spanner.v1#google.spanner.v1.CommitRequest CommitRequest | |
| 914 | cloud.google.com/spanner/reference/rpc/google.spanner.v1#google.spanner.v1.CommitRequest CommitRequest | |
| 951 | cloud.google.com/spanner/reference/rpc/google.spanner.v1#google.spanner.v1.CommitRequest CommitRequest | |
| 989 | cloud.google.com/spanner/reference/rpc/google.spanner.v1#google.spanner.v1.CommitRequest CommitRequest | |
| 1026 | cloud.google.com/spanner/reference/rpc/google.spanner.v1#google.spanner.v1.CommitRequest CommitRequest | |
| 1064 | cloud.google.com/spanner/reference/rpc/google.spanner.v1#google.spanner.v1.CommitRequest CommitRequest | |
| 1104 | cloud.google.com/spanner/reference/rpc/google.spanner.v1#google.spanner.v1.CommitRequest CommitRequest | |
| 1161 | Parameters which may be null must include an expected parameter type. | |
| 1183 | Array parameters which may be null or empty must include the array value type. | |
| 1201 | Struct parameters provide a type definition. Fields within a Struct may | |
| 1202 | be inferred following the same rules as top-level parameters. Any | |
| 1203 | nested structs must be an instance of `Google\Cloud\Spanner\StructType`, | |
| 1204 | and any values which could be of type `null` must explicitly specify | |
| 1205 | their type. | |
| 1224 | `John Testuser` | |
| 1228 | If a struct contains unnamed fields, or multiple fields with the same | |
| 1229 | name, it must be defined using {@see Google\Cloud\Spanner\StructValue}. | |
| 1250 | "foo: bar" | |
| 1251 | "foo: 2" | |
| 1252 | "2: this field is unnamed" | |
| 1256 | Execute a read and return a new Snapshot for further reads. | |
| 1273 | Execute a read and return a new Transaction for further reads and writes. | |
| 1290 | cloud.google.com/spanner/reference/rpc/google.spanner.v1#google.spanner.v1.ExecuteSqlRequest ExecuteSqlRequest | |
| 1297 | cloud.google.com/spanner/docs/reference/rpc/google.spanner.v1#google.spanner.v1.TransactionOptions) | |
| 1453 | cloud.google.com/spanner/docs/reference/rpc/google.spanner.v1#google.spanner.v1.TransactionOptions TransactionOptions | |
| 1454 | cloud.google.com/spanner/reference/rpc/google.spanner.v1#google.spanner.v1.ExecuteSqlRequest ExecuteSqlRequest | |
| 1518 | Execute a read and return a new Snapshot for further reads. | |
| 1539 | Execute a read and return a new Transaction for further reads and writes. | |
| 1559 | cloud.google.com/spanner/reference/rpc/google.spanner.v1#google.spanner.v1.ReadRequest ReadRequest | |
| 1568 | cloud.google.com/spanner/docs/reference/rpc/google.spanner.v1#google.spanner.v1.TransactionOptions) | |
| 1672 | @codingStandardsIgnoreStart | |
| 1673 | @codeCoverageIgnoreStart | |
| 1675 | @codeCoverageIgnoreEnd | |
| 1676 | @codingStandardsIgnoreStart | |
| 1815 | @codeCoverageIgnoreStart | |
| 1819 | @codeCoverageIgnoreEnd |
Date.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 22 | cloud.google.com/spanner/docs/reference/rpc/google.spanner.v1#google.spanner.v1.TypeCode). | |
| 34 | Date objects can be cast to strings for easy display. |
Duration.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 35 | Duration objects can be cast to json-encoded strings. |
Instance.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 229 | cloud.google.com/spanner/reference/rpc/google.spanner.admin.instance.v1#google.spanner.admin.instance.v1.GetInstanceRequest GetInstanceRequest | |
| 254 | cloud.google.com/spanner/docs/reference/rpc/google.spanner.admin.instance.v1#createinstancerequest CreateInstanceRequest | |
| 264 | cloudplatform.googleblog.com/2015/10/using-labels-to-organize-Google-Cloud-Platform-resources.html). | |
| 278 | This must always be set to CREATING, so overwrite anything else. | |
| 329 | cloud.google.com/spanner/reference/rpc/google.spanner.admin.instance.v1#updateinstancerequest UpdateInstanceRequest | |
| 340 | goo.gl/xmQnxf). | |
| 363 | cloud.google.com/spanner/reference/rpc/google.spanner.admin.instance.v1#deleteinstancerequest DeleteInstanceRequest | |
| 385 | cloud.google.com/spanner/reference/rpc/google.spanner.admin.database.v1#createdatabaserequest CreateDatabaseRequest | |
| 446 | cloud.google.com/spanner/docs/reference/rpc/google.spanner.admin.database.v1#listdatabasesrequest ListDatabasesRequest | |
| 510 | try { | |
| 515 | } catch (ValidationException $e) { | |
| 516 | return $name; | |
| 517 | } |
InstanceConfiguration.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 38 | cloud.google.com/spanner/docs/reference/rpc/google.spanner.admin.instance.v1#instanceconfig InstanceConfig | |
| 105 | www.googleapis.com/auth/spanner.admin` scope. | |
| 114 | cloud.google.com/spanner/docs/reference/rpc/google.spanner.admin.instance.v1#instanceconfig) | |
| 131 | www.googleapis.com/auth/spanner.admin` scope. | |
| 157 | www.googleapis.com/auth/spanner.admin` scope. | |
| 166 | cloud.google.com/spanner/docs/reference/rpc/google.spanner.admin.instance.v1#instanceconfig) |
KeyRange.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 29 | Create a KeyRange for all people named Bob, born in 1969. | |
| 41 | cloud.google.com/spanner/reference/rpc/google.spanner.v1#google.spanner.v1.KeyRange KeyRange |
KeySet.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 34 | cloud.google.com/spanner/reference/rpc/google.spanner.v1#keyset KeySet |
Operation.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 217 | Iterate through the result to ensure we have query statistics available. | |
| 281 | cloud.google.com/spanner/reference/rpc/google.spanner.v1#google.spanner.v1.BeginTransactionRequest BeginTransactionRequest | |
| 337 | cloud.google.com/spanner/reference/rpc/google.spanner.v1#google.spanner.v1.BeginTransactionRequest BeginTransactionRequest | |
| 417 | goo.gl/xmQnxf for more information on and examples of | |
| 496 | cache this to pass to the partition instance. | |
| 556 | cache this to pass to the partition instance. | |
| 603 | cloud.google.com/spanner/reference/rpc/google.spanner.v1#google.spanner.v1.BeginTransactionRequest BeginTransactionRequest | |
| 625 | cloud.google.com/spanner/reference/rpc/google.spanner.v1#keyset) |
Result.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 40 | cloud.google.com/spanner/docs/reference/rpc/google.spanner.v1#google.spanner.v1.ResultSet ResultSet | |
| 205 | Now that we've yielded all available rows, flush the buffer. | |
| 209 | If the last item in the buffer had a chunked value let's | |
| 210 | hold on to it so we can stitch it together into a yieldable | |
| 211 | result. | |
| 225 | Attempt to resume using our last stored resume token. If we | |
| 226 | successfully resume, flush the buffer. | |
| 237 | If there are any results remaining in the buffer, yield them. | |
| 275 | cloud.google.com/spanner/docs/reference/rpc/google.spanner.v1#google.spanner.v1.ResultSetMetadata). | |
| 315 | Executing a query with stats returned. | |
| 324 | cloud.google.com/spanner/docs/reference/rpc/google.spanner.v1#google.spanner.v1.ResultSetStats). |
CacheSessionPool.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 57 | cloud.google.com/spanner/docs/limits). | |
| 68 | github.com/symfony/cache). For more | |
| 70 | packagist.org/providers/psr/cache-implementation). | |
| 88 | Labels configured on the pool will be applied to each session created by the pool. | |
| 184 | goo.gl/xmQnxf for more information on and examples of | |
| 206 | Try to get a session, run maintenance on the pool, and calculate if | |
| 207 | we need to create any new sessions. | |
| 215 | If the queue has items in it, let's shift one off, however if the | |
| 216 | queue is empty and we have maxed out the number of sessions let's | |
| 217 | attempt to purge any orphaned items from the pool to make room | |
| 218 | for more. | |
| 246 | Create a session if needed. | |
| 266 | Now that we've created the session, we can remove it from | |
| 267 | the list of intent. | |
| 297 | If we don't have a session, let's wait for one or throw an exception. | |
| 452 | Now that we've created the sessions, we can remove them from | |
| 453 | the list of intent. | |
| 802 | gRPC calls appear to cancel when the corresponding UnaryCall object | |
| 803 | goes out of scope. Keeping the calls in scope allows time for the | |
| 804 | calls to complete at the expense of a small memory footprint. |
Session.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
SessionPoolInterface.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
Snapshot.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
SnapshotTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
SpannerClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 44 | cloud.google.com/spanner/). | |
| 48 | pecl.php.net). | |
| 83 | www.googleapis.com/auth/spanner.data'; | |
| 84 | www.googleapis.com/auth/spanner.admin'; | |
| 98 | cloud.google.com/php/grpc). | |
| 214 | cloud.google.com/spanner/docs/reference/rpc/google.spanner.admin.instance.v1#google.spanner.admin.instance.v1.ListInstanceConfigsRequest ListInstanceConfigsRequest | |
| 263 | cloud.google.com/spanner/docs/reference/rpc/google.spanner.admin.instance.v1#getinstanceconfigrequest GetInstanceConfigRequest | |
| 284 | cloud.google.com/spanner/docs/reference/rpc/google.spanner.admin.instance.v1#createinstancerequest CreateInstanceRequest | |
| 294 | cloudplatform.googleblog.com/2015/10/using-labels-to-organize-Google-Cloud-Platform-resources.html). | |
| 338 | cloud.google.com/spanner/docs/reference/rpc/google.spanner.admin.instance.v1#listinstancesrequest ListInstancesRequest | |
| 416 | Create a keyset to return all rows in a table. | |
| 443 | Ranges can be created with all data supplied. |
StructType.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 46 | `John Testuser` | |
| 109 | If a field is a struct or array, it must be explicitly defined. | |
| 114 | Create a struct which will be nested later. | |
| 121 | Create an array to nest within the customer type definition. | |
| 125 | Add the customer definition to the parameter definition. |
StructValue.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 61 | "foo: bar" | |
| 62 | "foo: 2" | |
| 63 | "2: this field is unnamed" |
Timestamp.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 24 | cloud.google.com/spanner/docs/reference/rpc/google.spanner.v1#google.spanner.v1.TypeCode). | |
| 41 | Timestamps can be cast to strings. |
Transaction.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 56 | do stuff. | |
| 63 | Get a transaction to manage manually. | |
| 338 | cloud.google.com/spanner/reference/rpc/google.spanner.v1#google.spanner.v1.ExecuteSqlRequest ExecuteSqlRequest |
TransactionalReadInterface.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
TransactionalReadTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 112 | Parameters which may be null must include an expected parameter type. | |
| 134 | Array parameters which may be null or empty must include the array value type. | |
| 152 | Struct parameters provide a type definition. Fields within a Struct may | |
| 153 | be inferred following the same rules as top-level parameters. Any | |
| 154 | nested structs must be an instance of `Google\Cloud\Spanner\StructType`, | |
| 155 | and any values which could be of type `null` must explicitly specify | |
| 156 | their type. | |
| 175 | `John Testuser` | |
| 179 | If a struct contains unnamed fields, or multiple fields with the same | |
| 180 | name, it must be defined using {@see Google\Cloud\Spanner\StructValue}. | |
| 201 | "foo: bar" | |
| 202 | "foo: 2" | |
| 203 | "2: this field is unnamed" | |
| 207 | cloud.google.com/spanner/reference/rpc/google.spanner.v1#google.spanner.v1.ExecuteStreamingSqlRequest ExecuteStreamingSqlRequest | |
| 214 | cloud.google.com/spanner/docs/reference/rpc/google.spanner.v1#google.spanner.v1.TransactionOptions) | |
| 275 | cloud.google.com/spanner/reference/rpc/google.spanner.v1#google.spanner.v1.ReadRequest ReadRequest |
TransactionConfigurationTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 49 | TransactionSelector uses a different key name for singleUseTransaction | |
| 50 | and transactionId than transactionOptions, so we'll rewrite those here | |
| 51 | so transactionOptions works as expected for commitRequest. | |
| 138 | These are only available in single-use transactions. |
QueryMode.php
| Type | Line | Description |
|---|---|---|
| 36 | Adding a class alias for backwards compatibility with the previous class name. |
SpannerGapicClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/spanner/v1/spanner.proto | |
| 118 | www.googleapis.com/auth/cloud-platform', | |
| 119 | www.googleapis.com/auth/spanner.data', | |
| 252 | Swallow the exception to continue trying other path templates | |
| 435 | Iterate over pages of elements | |
| 439 | doSomethingWith($element); | |
| 444 | Alternatively: | |
| 446 | Iterate through all elements | |
| 449 | doSomethingWith($element); | |
| 711 | Read all responses until the stream is complete | |
| 714 | doSomethingWith($element); | |
| 966 | Read all responses until the stream is complete | |
| 969 | doSomethingWith($element); |
Delete.php
| Type | Line | Description |
|---|---|---|
| 110 | Adding a class alias for backwards compatibility with the previous class name. |
Write.php
| Type | Line | Description |
|---|---|---|
| 177 | Adding a class alias for backwards compatibility with the previous class name. |
ChildLink.php
| Type | Line | Description |
|---|---|---|
| 177 | Adding a class alias for backwards compatibility with the previous class name. |
Kind.php
| Type | Line | Description |
|---|---|---|
| 40 | Adding a class alias for backwards compatibility with the previous class name. |
ShortRepresentation.php
| Type | Line | Description |
|---|---|---|
| 119 | Adding a class alias for backwards compatibility with the previous class name. |
Session.php
| Type | Line | Description |
|---|---|---|
| 32 | goo.gl/xmQnxf for more information on and examples of labels. | |
| 67 | goo.gl/xmQnxf for more information on and examples of labels. | |
| 115 | goo.gl/xmQnxf for more information on and examples of labels. | |
| 132 | goo.gl/xmQnxf for more information on and examples of labels. |
SpannerClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/spanner/v1/spanner.proto |
SpannerGrpcClient.php
| Type | Line | Description |
|---|---|---|
| 2 | GENERATED CODE -- DO NOT EDIT! | |
| 4 | Original file comments: | |
| 5 | Copyright 2018 Google LLC | |
| 7 | // Licensed under the Apache License, Version 2.0 (the "License"); | |
| 8 | you may not use this file except in compliance with the License. | |
| 9 | You may obtain a copy of the License at | |
| 11 | // http://www.apache.org/licenses/LICENSE-2.0 | |
| 13 | // Unless required by applicable law or agreed to in writing, software | |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, | |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 16 | See the License for the specific language governing permissions and | |
| 17 | limitations under the License. | |
| 19 | namespace Google\Cloud\Spanner\V1; |
Field.php
| Type | Line | Description |
|---|---|---|
| 126 | Adding a class alias for backwards compatibility with the previous class name. |
PartitionedDml.php
| Type | Line | Description |
|---|---|---|
| 34 | Adding a class alias for backwards compatibility with the previous class name. |
ReadOnly.php
| Type | Line | Description |
|---|---|---|
| 323 | Adding a class alias for backwards compatibility with the previous class name. |
ReadWrite.php
| Type | Line | Description |
|---|---|---|
| 35 | Adding a class alias for backwards compatibility with the previous class name. |
ValueInterface.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
ValueMapper.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 273 | NaN, Infinite and -Infinite are possible FLOAT64 values, | |
| 274 | but when the gRPC response is decoded, they are represented | |
| 275 | as strings. This conditional checks for a string, converts to | |
| 276 | an equivalent double value, or dies if something really weird | |
| 277 | happens. | |
| 327 | If a definition is provided, the type is set to `array` to force | |
| 328 | the value to be interpreted as an array or a struct, even if null. | |
| 433 | iterate through types and values separately to accurately align | |
| 434 | unnamed and fields with duplicate names. | |
| 435 | We also record the original position in order to return values in | |
| 436 | the order given. | |
| 445 | Nest values inside an array keyed by field name. | |
| 446 | This allows for duplicate field names, and aligning | |
| 447 | definitions by position. | |
| 471 | Iterate through given type fields and align them with corresponding values. | |
| 478 | Count the number of times the field name has been encountered thus far. | |
| 479 | This lets us pick the correct index for duplicate fields. | |
| 486 | Get the value which corresponds to the current type. | |
| 492 | If the value didn't exist in the values structure, set it to null. | |
| 493 | The $typeIndex will give us a hook to order fields properly. | |
| 494 | Otherwise, remove the current field value from the list of values. | |
| 511 | Iterate over any remaining fields. If anything is left here, it means | |
| 512 | no type was defined and its type must be inferred. | |
| 536 | Sort values and fields by key to reset back to the order given by the user. | |
| 547 | If the input is null, send null (but with the full type structure) | |
| 683 | cloud.google.com/spanner/docs/reference/rpc/google.spanner.v1#google.spanner.v1.ResultSetMetadata) |
ConnectionInterface.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 22 | cloud.google.com/speech/). |
Rest.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 28 | cloud.google.com/speech/reference/rest/). | |
| 35 | speech.googleapis.com/'; |
Operation.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 102 | cloud.google.com/speech/reference/rest/v1/speech/recognize#SpeechRecognitionResult SpeechRecognitionResult | |
| 159 | cloud.google.com/speech/reference/rest/v1/operations/get Operations get API documentation. | |
| 160 | cloud.google.com/speech/reference/rest/v1/operations#Operation Operation resource documentation. | |
| 186 | cloud.google.com/speech/reference/rest/v1/operations/get Operations get API documentation. | |
| 187 | cloud.google.com/speech/reference/rest/v1/operations#Operation Operation resource documentation. |
Result.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 37 | cloud.google.com/speech/reference/rest/v1/speech/recognize#SpeechRecognitionResult SpeechRecognitionResult | |
| 68 | cloud.google.com/speech/reference/rest/v1/speech/recognize#SpeechRecognitionAlternative SpeechRecognitionAlternative |
SpeechClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 31 | cloud.google.com/speech/docs/). | |
| 48 | www.googleapis.com/auth/cloud-platform'; | |
| 93 | cloud.google.com/speech/docs/languages) | |
| 130 | Run with speech contexts, sample rate, and encoding provided | |
| 151 | cloud.google.com/speech/reference/rest/v1/speech/recognize#SpeechRecognitionResult SpeechRecognitionResult | |
| 152 | cloud.google.com/speech/reference/rest/v1/speech/recognize Recognize API documentation | |
| 153 | cloud.google.com/speech/reference/rest/v1/RecognitionConfig#AudioEncoding AudioEncoding types | |
| 154 | cloud.google.com/speech/docs/best-practices Speech API best practices | |
| 160 | {bucket-name}/{object-name}` or a | |
| 168 | {bucket-name}/{object-name}`. **Defaults to** `true`. | |
| 171 | cloud.google.com/speech/docs/languages) | |
| 196 | cloud.google.com/speech/reference/rest/v1/RecognitionConfig#SpeechContext) | |
| 242 | let's wait for a moment... | |
| 252 | Run with speech contexts, sample rate, and encoding provided | |
| 270 | let's wait for a moment... | |
| 280 | cloud.google.com/speech/reference/rest/v1/operations Operations | |
| 281 | cloud.google.com/speech/reference/rest/v1/speech/longrunningrecognize LongRunningRecognize API documentation | |
| 282 | cloud.google.com/speech/reference/rest/v1/RecognitionConfig#AudioEncoding AudioEncoding types | |
| 283 | cloud.google.com/speech/docs/best-practices Speech API best practices | |
| 289 | {bucket-name}/{object-name}` or a | |
| 297 | {bucket-name}/{object-name}`. **Defaults to** `true`. | |
| 300 | cloud.google.com/speech/docs/languages) | |
| 325 | cloud.google.com/speech/reference/rest/v1/RecognitionConfig#SpeechContext) | |
| 355 | Access an existing operation by its server generated name. | |
| 398 | ') { |
SpeechHelpersTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 73 | First, convert string/resource audio into an iterable | |
| 81 | For each chuck in iterable $audio, convert to a request if necessary |
SpeechGapicClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/cloud/speech/v1/cloud_speech.proto | |
| 65 | bucket_name/file_name.flac'; | |
| 104 | www.googleapis.com/auth/cloud-platform', | |
| 237 | bucket_name/file_name.flac'; | |
| 295 | bucket_name/file_name.flac'; | |
| 302 | doSomethingWith($result) | |
| 305 | handleError($error) | |
| 309 | Alternatively: | |
| 311 | start the operation, keep the operation name, and resume later | |
| 314 | ... do other work | |
| 317 | ... do other work | |
| 322 | doSomethingWith($result) | |
| 325 | handleError($error) | |
| 373 | Write all requests to the server, then read all responses until the | |
| 374 | stream is complete | |
| 379 | doSomethingWith($element); | |
| 383 | Alternatively: | |
| 385 | Write requests individually, making read() calls if | |
| 386 | required. Call closeWrite() once writes are complete, and read the | |
| 387 | remaining responses from the server. | |
| 392 | if required, read a single response from the stream | |
| 394 | doSomethingWith($element) | |
| 399 | doSomethingWith($element) |
RecognitionAudio.php
| Type | Line | Description |
|---|---|---|
| 38 | bucket_name/object_name` (other URI formats return | |
| 40 | cloud.google.com/storage/docs/reference-uris). | |
| 83 | bucket_name/object_name` (other URI formats return | |
| 85 | cloud.google.com/storage/docs/reference-uris). | |
| 100 | bucket_name/object_name` (other URI formats return | |
| 102 | cloud.google.com/storage/docs/reference-uris). |
AudioEncoding.php
| Type | Line | Description |
|---|---|---|
| 73 | wiki.xiph.org/OggOpus)). | |
| 82 | speex.org/) encoding supported by | |
| 86 | tools.ietf.org/html/rfc5574). | |
| 99 | Adding a class alias for backwards compatibility with the previous class name. |
RecognitionConfig.php
| Type | Line | Description |
|---|---|---|
| 41 | www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. | |
| 171 | www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. | |
| 325 | www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. | |
| 340 | www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. |
SpeechClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/cloud/speech/v1/cloud_speech.proto | |
| 90 | doSomethingWith($element); |
SpeechGrpcClient.php
| Type | Line | Description |
|---|---|---|
| 2 | GENERATED CODE -- DO NOT EDIT! | |
| 4 | Original file comments: | |
| 5 | Copyright 2018 Google LLC. | |
| 7 | // Licensed under the Apache License, Version 2.0 (the "License"); | |
| 8 | you may not use this file except in compliance with the License. | |
| 9 | You may obtain a copy of the License at | |
| 11 | // http://www.apache.org/licenses/LICENSE-2.0 | |
| 13 | // Unless required by applicable law or agreed to in writing, software | |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, | |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 16 | See the License for the specific language governing permissions and | |
| 17 | limitations under the License. | |
| 19 | // |
SpeechEventType.php
| Type | Line | Description |
|---|---|---|
| 34 | Adding a class alias for backwards compatibility with the previous class name. |
SpeechGapicClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/cloud/speech/v1p1beta1/cloud_speech.proto | |
| 65 | bucket_name/file_name.flac'; | |
| 104 | www.googleapis.com/auth/cloud-platform', | |
| 237 | bucket_name/file_name.flac'; | |
| 295 | bucket_name/file_name.flac'; | |
| 302 | doSomethingWith($result) | |
| 305 | handleError($error) | |
| 309 | Alternatively: | |
| 311 | start the operation, keep the operation name, and resume later | |
| 314 | ... do other work | |
| 317 | ... do other work | |
| 322 | doSomethingWith($result) | |
| 325 | handleError($error) | |
| 373 | Write all requests to the server, then read all responses until the | |
| 374 | stream is complete | |
| 379 | doSomethingWith($element); | |
| 383 | Alternatively: | |
| 385 | Write requests individually, making read() calls if | |
| 386 | required. Call closeWrite() once writes are complete, and read the | |
| 387 | remaining responses from the server. | |
| 392 | if required, read a single response from the stream | |
| 394 | doSomethingWith($element) | |
| 399 | doSomethingWith($element) |
RecognitionAudio.php
| Type | Line | Description |
|---|---|---|
| 38 | bucket_name/object_name` (other URI formats return | |
| 40 | cloud.google.com/storage/docs/reference-uris). | |
| 83 | bucket_name/object_name` (other URI formats return | |
| 85 | cloud.google.com/storage/docs/reference-uris). | |
| 100 | bucket_name/object_name` (other URI formats return | |
| 102 | cloud.google.com/storage/docs/reference-uris). |
AudioEncoding.php
| Type | Line | Description |
|---|---|---|
| 73 | wiki.xiph.org/OggOpus)). | |
| 82 | speex.org/) encoding supported by | |
| 86 | tools.ietf.org/html/rfc5574). | |
| 99 | Adding a class alias for backwards compatibility with the previous class name. |
RecognitionConfig.php
| Type | Line | Description |
|---|---|---|
| 66 | www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. | |
| 76 | www.rfc-editor.org/rfc/bcp/bcp47.txt) language tags, | |
| 270 | www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. | |
| 276 | www.rfc-editor.org/rfc/bcp/bcp47.txt) language tags, | |
| 539 | www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. | |
| 554 | www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. | |
| 573 | www.rfc-editor.org/rfc/bcp/bcp47.txt) language tags, | |
| 595 | www.rfc-editor.org/rfc/bcp/bcp47.txt) language tags, |
InteractionType.php
| Type | Line | Description |
|---|---|---|
| 78 | Adding a class alias for backwards compatibility with the previous class name. |
MicrophoneDistance.php
| Type | Line | Description |
|---|---|---|
| 42 | Adding a class alias for backwards compatibility with the previous class name. |
OriginalMediaType.php
| Type | Line | Description |
|---|---|---|
| 34 | Adding a class alias for backwards compatibility with the previous class name. |
RecordingDeviceType.php
| Type | Line | Description |
|---|---|---|
| 58 | Adding a class alias for backwards compatibility with the previous class name. |
RecognitionMetadata.php
| Type | Line | Description |
|---|---|---|
| 28 | www.naics.com/search/. | |
| 63 | www.iana.org/assignments/media-types/media-types.xhtml#audio | |
| 95 | www.naics.com/search/. | |
| 110 | www.iana.org/assignments/media-types/media-types.xhtml#audio | |
| 154 | www.naics.com/search/. | |
| 168 | www.naics.com/search/. | |
| 294 | www.iana.org/assignments/media-types/media-types.xhtml#audio | |
| 308 | www.iana.org/assignments/media-types/media-types.xhtml#audio |
SpeechClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/cloud/speech/v1p1beta1/cloud_speech.proto | |
| 40 | This class is intentionally empty, and is intended to hold manual | |
| 41 | additions to the generated {@see SpeechGapicClient} class. |
SpeechGrpcClient.php
| Type | Line | Description |
|---|---|---|
| 2 | GENERATED CODE -- DO NOT EDIT! | |
| 4 | Original file comments: | |
| 5 | Copyright 2018 Google LLC. | |
| 7 | // Licensed under the Apache License, Version 2.0 (the "License"); | |
| 8 | you may not use this file except in compliance with the License. | |
| 9 | You may obtain a copy of the License at | |
| 11 | // http://www.apache.org/licenses/LICENSE-2.0 | |
| 13 | // Unless required by applicable law or agreed to in writing, software | |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, | |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 16 | See the License for the specific language governing permissions and | |
| 17 | limitations under the License. | |
| 19 | // |
SpeechRecognitionResult.php
| Type | Line | Description |
|---|---|---|
| 37 | www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the | |
| 62 | www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the | |
| 136 | www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the | |
| 150 | www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the |
StreamingRecognitionResult.php
| Type | Line | Description |
|---|---|---|
| 65 | www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the | |
| 105 | www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the | |
| 275 | www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the | |
| 289 | www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the |
SpeechEventType.php
| Type | Line | Description |
|---|---|---|
| 34 | Adding a class alias for backwards compatibility with the previous class name. |
ServiceBuilder.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
Version.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
Acl.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 28 | cloud.google.com/storage/docs/access-control). | |
| 89 | cloud.google.com/storage/docs/json_api/v1/bucketAccessControls/delete BucketAccessControls delete | |
| 91 | cloud.google.com/storage/docs/json_api/v1/defaultObjectAccessControls/delete | |
| 93 | cloud.google.com/storage/docs/json_api/v1/objectAccessControls/delete ObjectAccessControls delete | |
| 117 | cloud.google.com/storage/docs/json_api/v1/bucketAccessControls/get BucketAccessControls get API | |
| 119 | cloud.google.com/storage/docs/json_api/v1/defaultObjectAccessControls/get | |
| 121 | cloud.google.com/storage/docs/json_api/v1/objectAccessControls/get ObjectAccessControls get API | |
| 150 | cloud.google.com/storage/docs/json_api/v1/bucketAccessControls/insert BucketAccessControls insert | |
| 152 | cloud.google.com/storage/docs/json_api/v1/defaultObjectAccessControls/insert | |
| 154 | cloud.google.com/storage/docs/json_api/v1/objectAccessControls/insert ObjectAccessControls insert | |
| 182 | cloud.google.com/storage/docs/json_api/v1/bucketAccessControls/patch BucketAccessControls patch API | |
| 184 | cloud.google.com/storage/docs/json_api/v1/defaultObjectAccessControls/patch | |
| 186 | cloud.google.com/storage/docs/json_api/v1/objectAccessControls/patch ObjectAccessControls patch |
Bucket.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 53 | pubsub.googleapis.com/%s'; | |
| 119 | cloud.google.com/storage/docs/access-control More about Access Control Lists | |
| 137 | cloud.google.com/storage/docs/access-control More about Access Control Lists | |
| 181 | Upload an object in a resumable fashion while setting a new name for | |
| 182 | the object and including the content language. | |
| 198 | Upload an object with a customer-supplied encryption key. | |
| 199 | Make sure to remember your key. | |
| 208 | Upload an object utilizing an encryption key managed by the Cloud Key Management Service (KMS). | |
| 219 | cloud.google.com/storage/docs/json_api/v1/how-tos/upload#resumable Learn more about resumable | |
| 221 | cloud.google.com/storage/docs/json_api/v1/objects/insert Objects insert API documentation. | |
| 222 | cloud.google.com/storage/docs/encryption#customer-supplied Customer-supplied encryption keys. | |
| 254 | cloud.google.com/storage/docs/json_api/v1/objects/insert#request-body). | |
| 315 | cloud.google.com/storage/docs/json_api/v1/how-tos/upload#resumable Learn more about resumable | |
| 317 | cloud.google.com/storage/docs/json_api/v1/objects/insert Objects insert API documentation. | |
| 334 | cloud.google.com/storage/docs/json_api/v1/objects/insert#request-body). | |
| 383 | finish uploading the item | |
| 387 | cloud.google.com/storage/docs/json_api/v1/how-tos/upload#resumable Learn more about resumable | |
| 389 | cloud.google.com/storage/docs/json_api/v1/objects/insert Objects insert API documentation. | |
| 410 | cloud.google.com/storage/docs/json_api/v1/objects/insert#request-body). | |
| 490 | Get all objects beginning with the prefix 'photo' | |
| 501 | cloud.google.com/storage/docs/json_api/v1/objects/list Objects list API documentation. | |
| 557 | Assume the topic uses the same project ID as that configured on the | |
| 558 | existing client. | |
| 563 | Use a fully qualified topic name. | |
| 568 | Provide a Topic object from the Cloud PubSub component. | |
| 574 | Supplying event types to trigger the notifications. | |
| 584 | cloud.google.com/storage/docs/pubsub-notifications Cloud PubSub Notifications | |
| 585 | cloud.google.com/storage/docs/json_api/v1/notifications/insert Notifications insert API documentation. | |
| 643 | cloud.google.com/storage/docs/json_api/v1/notifications#resource Notifications API documentation. | |
| 675 | cloud.google.com/storage/docs/json_api/v1/notifications/list Notifications list API documentation. | |
| 721 | cloud.google.com/storage/docs/json_api/v1/buckets/delete Buckets delete API documentation. | |
| 743 | Enable logging on an existing bucket. | |
| 752 | cloud.google.com/storage/docs/json_api/v1/buckets/patch Buckets patch API documentation. | |
| 753 | cloud.google.com/storage/docs/key-terms#bucket-labels Bucket Labels | |
| 842 | Use an instance of StorageObject. | |
| 851 | cloud.google.com/storage/docs/json_api/v1/objects/compose Objects compose API documentation | |
| 864 | cloud.google.com/storage/docs/json_api/v1/objects/insert#request-body). | |
| 937 | cloud.google.com/storage/docs/json_api/v1/buckets/get Buckets get API documentation. | |
| 968 | cloud.google.com/storage/docs/json_api/v1/buckets/get Buckets get API documentation. | |
| 1027 | cloud.google.com/storage/docs/lifecycle Object Lifecycle Management API Documentation | |
| 1030 | cloud.google.com/storage/docs/json_api/v1/buckets#lifecycle) | |
| 1065 | Iterate over existing rules. | |
| 1073 | cloud.google.com/storage/docs/lifecycle Object Lifecycle Management API Documentation | |
| 1106 | We expect a 403 access denied error if the bucket is not writable | |
| 1110 | If not a 403, re-raise the unexpected error | |
| 1128 | cloud.google.com/storage/docs/access-control/iam-with-json-and-xml Storage Access Control Documentation | |
| 1129 | cloud.google.com/storage/docs/json_api/v1/buckets/getIamPolicy Get Bucket IAM Policy | |
| 1130 | cloud.google.com/storage/docs/json_api/v1/buckets/setIamPolicy Set Bucket IAM Policy | |
| 1131 | cloud.google.com/storage/docs/json_api/v1/buckets/testIamPermissions Test Bucket Permissions | |
| 1165 | Set a retention policy. | |
| 1168 | One week in seconds. | |
| 1171 | Lock in the policy. | |
| 1175 | View the time from which the policy was enforced and effective. (RFC 3339 format) | |
| 1178 | View whether or not the retention policy is locked. This will be | |
| 1179 | `true` after a successful call to `lockRetentionPolicy`. | |
| 1183 | cloud.google.com/storage/docs/bucket-lock Bucket Lock Documentation |
ConnectionInterface.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 22 | cloud.google.com/storage/). |
IamBucket.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
Rest.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 35 | cloud.google.com/storage/docs/json_api/). | |
| 42 | www.googleapis.com/storage/v1/'; | |
| 43 | www.googleapis.com/upload/storage/v1/b/{bucket}/o{?query*}'; | |
| 44 | www.googleapis.com/storage/v1/b/{bucket}/o/{object}{?query*}'; | |
| 307 | @todo add support for rolling hash |
EncryptionTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 137 | @codeCoverageIgnoreStart | |
| 140 | @codeCoverageIgnoreEnd |
Lifecycle.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 32 | Access a builder preconfigured with rules already existing on a given | |
| 33 | bucket. | |
| 42 | Or get a fresh builder by using the static factory method. | |
| 48 | cloud.google.com/storage/docs/lifecycle Object Lifecycle Management API Documentation | |
| 59 | cloud.google.com/storage/docs/json_api/v1/buckets#lifecycle) | |
| 168 | Remove all rules. | |
| 173 | Remove all "Delete" based rules. | |
| 178 | Clear any rules which have an age equal to 50. | |
| 192 | php.net/manual/en/function.array-filter.php). |
Notification.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 42 | cloud.google.com/storage/docs/pubsub-notifications | |
| 118 | cloud.google.com/storage/docs/json_api/v1/notifications/delete Notifications delete API documentation. | |
| 139 | cloud.google.com/storage/docs/json_api/v1/notifications/get Notifications get API documentation. | |
| 159 | cloud.google.com/storage/docs/json_api/v1/notifications/get Notifications get API documentation. |
ObjectIterator.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
ObjectPageIterator.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
ReadStream.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
StorageClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 36 | developers.google.com/storage). | |
| 52 | www.googleapis.com/auth/devstorage.full_control'; | |
| 53 | www.googleapis.com/auth/devstorage.read_only'; | |
| 54 | www.googleapis.com/auth/devstorage.read_write'; | |
| 147 | Get all buckets beginning with the prefix 'album'. | |
| 157 | cloud.google.com/storage/docs/json_api/v1/buckets/list Buckets list API documentation. | |
| 221 | cloud.google.com/storage/docs/naming#requirements) | |
| 229 | Create a bucket with logging enabled. | |
| 238 | cloud.google.com/storage/docs/json_api/v1/buckets/insert Buckets insert API documentation. |
StorageObject.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 47 | storage.googleapis.com'; | |
| 118 | cloud.google.com/storage/docs/access-control More about Access Control Lists | |
| 159 | cloud.google.com/storage/docs/json_api/v1/objects/delete Objects delete API documentation. | |
| 190 | Add custom metadata to an existing object. | |
| 198 | cloud.google.com/storage/docs/json_api/v1/objects/patch Objects patch API documentation. | |
| 201 | cloud.google.com/storage/docs/json_api/v1/objects#resource) | |
| 232 | can only set predefinedAcl or acl | |
| 249 | Provide your destination bucket as a string and retain the source | |
| 250 | object's name. | |
| 255 | Provide your destination bucket as a bucket object and choose a new | |
| 256 | name for the copied object. | |
| 263 | cloud.google.com/storage/docs/json_api/v1/objects/copy Objects copy API documentation. | |
| 343 | Provide your destination bucket as a string and retain the source | |
| 344 | object's name. | |
| 349 | Provide your destination bucket as a bucket object and choose a new | |
| 350 | name for the copied object. | |
| 358 | Rotate customer-supplied encryption keys. | |
| 360 | Make sure to remember your key. | |
| 368 | cloud.google.com/storage/docs/json_api/v1/objects/rewrite Objects rewrite API documentation. | |
| 369 | cloud.google.com/storage/docs/encryption#customer-supplied Customer-supplied encryption keys. | |
| 648 | cloud.google.com/storage/docs/access-control/signed-urls). | |
| 656 | Create a signed URL allowing updates to the object. | |
| 662 | cloud.google.com/storage/docs/access-control/signed-urls Signed URLs | |
| 666 | php.net/datetimeimmutable](`\DateTimeImmutable`), or a | |
| 674 | cdn.example.com`. **Defaults to** | |
| 675 | storage.googleapis.com`. | |
| 690 | www.iana.org/assignments/cont-disp/cont-disp.xhtml) | |
| 784 | Make sure disallowed headers are not included. | |
| 798 | Sort headers by name. | |
| 809 | Linebreaks are not allowed in headers. | |
| 810 | Rather than strip, we throw because we don't want to change the expected value without the user knowing. | |
| 817 | Invalid header names throw exception. | |
| 851 | NOTE: While in most cases `PHP_EOL` is preferable to a system-specific character, | |
| 852 | in this case `\n` is required. | |
| 878 | If a custom cname is used, then the resource is simply the objectName | |
| 896 | goo.gl/b1ZiZm) for | |
| 913 | php.net/datetimeimmutable](`\DateTimeImmutable`), or a | |
| 982 | cloud.google.com/storage/docs/xml-api/resumable-upload#practices Resumable Upload Best Practices | |
| 1040 | cloud.google.com/storage/docs/json_api/v1/objects/get Objects get API documentation. | |
| 1087 | cloud.google.com/storage/docs/json_api/v1/objects/get Objects get API documentation. | |
| 1160 | {bucket-name}/{object-name}`. | |
| 1172 | %s/%s', |
StreamWrapper.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 27 | bucket/path/to/file.jpg`. | |
| 30 | php.net/manual/en/class.streamwrapper.php | |
| 36 | 100666 in octal | |
| 37 | 100444 in octal | |
| 38 | 40777 in octal | |
| 39 | 40444 in octal | |
| 104 | ' protocol"); | |
| 152 | strip off 'b' or 't' from the mode | |
| 173 | Lazy read from the source | |
| 179 | Wrap the response in a caching stream to make it seekable | |
| 261 | php.net/manual/en/streamwrapper.stream-seek.php | |
| 365 | If the file name is empty, we were trying to create a bucket. In this case, | |
| 366 | don't create the placeholder file. | |
| 368 | Fake a directory by creating an empty placeholder file whose name ends in '/' | |
| 406 | If any rename calls fail, abort and return false | |
| 483 | if directory | |
| 534 | 1. try to look up the directory as a file | |
| 539 | equivalent to 40777 and 40444 in octal | |
| 551 | 2. try list files in that directory | |
| 558 | can't list objects or doesn't exist | |
| 565 | equivalent to 40777 and 40444 in octal | |
| 585 | couldn't stat file | |
| 589 | equivalent to 100666 and 100444 in octal | |
| 685 | If any user can read, assume it should be publicRead. | |
| 688 | If any group user can read, assume it should be projectPrivate. | |
| 692 | Otherwise, assume only the project/bucket owner can use the bucket. |
WriteStream.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 84 | Ensure we have a resume uri here because we need to create the streaming | |
| 85 | upload before we have data (size of 0). |
AppEngineHttpRequest.php
| Type | Line | Description |
|---|---|---|
| 18 | cloud.google.com/appengine/docs/admin-api/access-control) | |
| 21 | www.googleapis.com/auth/cloud-platform` | |
| 24 | cloud.google.com/appengine/docs/standard/python/how-requests-are-routed) | |
| 26 | cloud.google.com/appengine/docs/python/config/dispatchref). | |
| 54 | cloud.google.com/appengine/docs/java/taskqueue/push/creating-handlers#writing_a_push_task_request_handler) | |
| 57 | cloud.google.com/appengine/docs/python/tools/webapp/requesthandlerclass). | |
| 90 | code.google.com/appengine)"`. | |
| 92 | code.google.com/appengine)"` to the | |
| 109 | cloud.google.com/appengine/docs/python/taskqueue/push/creating-handlers#reading_request_headers). | |
| 141 | cloud.google.com/appengine/docs/java/taskqueue/push/creating-handlers#writing_a_push_task_request_handler) | |
| 144 | cloud.google.com/appengine/docs/python/tools/webapp/requesthandlerclass). | |
| 165 | code.google.com/appengine)"`. | |
| 167 | code.google.com/appengine)"` to the | |
| 184 | cloud.google.com/appengine/docs/python/taskqueue/push/creating-handlers#reading_request_headers). | |
| 208 | cloud.google.com/appengine/docs/java/taskqueue/push/creating-handlers#writing_a_push_task_request_handler) | |
| 211 | cloud.google.com/appengine/docs/python/tools/webapp/requesthandlerclass). | |
| 226 | cloud.google.com/appengine/docs/java/taskqueue/push/creating-handlers#writing_a_push_task_request_handler) | |
| 229 | cloud.google.com/appengine/docs/python/tools/webapp/requesthandlerclass). | |
| 319 | code.google.com/appengine)"`. | |
| 321 | code.google.com/appengine)"` to the | |
| 338 | cloud.google.com/appengine/docs/python/taskqueue/push/creating-handlers#reading_request_headers). | |
| 361 | code.google.com/appengine)"`. | |
| 363 | code.google.com/appengine)"` to the | |
| 380 | cloud.google.com/appengine/docs/python/taskqueue/push/creating-handlers#reading_request_headers). |
AppEngineHttpTarget.php
| Type | Line | Description |
|---|---|---|
| 18 | cloud.google.com/appengine/docs/admin-api/access-control) | |
| 21 | www.googleapis.com/auth/cloud-platform` |
AppEngineRouting.php
| Type | Line | Description |
|---|---|---|
| 14 | cloud.google.com/appengine/docs/python/an-overview-of-app-engine), | |
| 15 | cloud.google.com/appengine/docs/python/microservices-on-app-engine), | |
| 16 | cloud.google.com/appengine/docs/standard/python/how-requests-are-routed), | |
| 17 | cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed). | |
| 66 | cloud.google.com/appengine/docs/python/an-overview-of-app-engine?hl=en_US#scaling_types_and_instance_classes). | |
| 68 | cloud.google.com/appengine/docs/standard/python/how-requests-are-routed) | |
| 69 | cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed). | |
| 77 | cloud.google.com/appengine/docs/standard/python/how-requests-are-routed). | |
| 165 | cloud.google.com/appengine/docs/python/an-overview-of-app-engine?hl=en_US#scaling_types_and_instance_classes). | |
| 167 | cloud.google.com/appengine/docs/standard/python/how-requests-are-routed) | |
| 168 | cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed). | |
| 172 | cloud.google.com/appengine/docs/standard/python/how-requests-are-routed). | |
| 330 | cloud.google.com/appengine/docs/python/an-overview-of-app-engine?hl=en_US#scaling_types_and_instance_classes). | |
| 332 | cloud.google.com/appengine/docs/standard/python/how-requests-are-routed) | |
| 333 | cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed). | |
| 348 | cloud.google.com/appengine/docs/python/an-overview-of-app-engine?hl=en_US#scaling_types_and_instance_classes). | |
| 350 | cloud.google.com/appengine/docs/standard/python/how-requests-are-routed) | |
| 351 | cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed). | |
| 368 | cloud.google.com/appengine/docs/standard/python/how-requests-are-routed). | |
| 422 | cloud.google.com/appengine/docs/standard/python/how-requests-are-routed). |
CancelLeaseRequest.php
| Type | Line | Description |
|---|---|---|
| 47 | cloud.google.com/iam/) | |
| 80 | cloud.google.com/iam/) | |
| 164 | cloud.google.com/iam/) | |
| 184 | cloud.google.com/iam/) |
CloudTasksClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/cloud/tasks/v2beta2/cloudtasks.proto | |
| 36 | This class is intentionally empty, and is intended to hold manual | |
| 37 | additions to the generated {@see CloudTasksGapicClient} class. |
CloudTasksGrpcClient.php
| Type | Line | Description |
|---|---|---|
| 2 | GENERATED CODE -- DO NOT EDIT! | |
| 4 | Original file comments: | |
| 5 | Copyright 2018 Google LLC | |
| 7 | // Licensed under the Apache License, Version 2.0 (the "License"); | |
| 8 | you may not use this file except in compliance with the License. | |
| 9 | You may obtain a copy of the License at | |
| 11 | // http://www.apache.org/licenses/LICENSE-2.0 | |
| 13 | // Unless required by applicable law or agreed to in writing, software | |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, | |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 16 | See the License for the specific language governing permissions and | |
| 17 | limitations under the License. | |
| 19 | namespace Google\Cloud\Tasks\V2beta2; | |
| 76 | cloud.google.com/tasks/docs/queue-yaml) | |
| 103 | cloud.google.com/tasks/docs/queue-yaml) | |
| 128 | cloud.google.com/tasks/docs/queue-yaml) | |
| 193 | cloud.google.com/tasks/docs/manage-cloud-task-scaling). | |
| 212 | cloud.google.com/iam) permission on the specified | |
| 236 | cloud.google.com/iam) permission on the specified |
CreateTaskRequest.php
| Type | Line | Description |
|---|---|---|
| 70 | cloud.google.com/iam/) | |
| 127 | cloud.google.com/iam/) | |
| 259 | cloud.google.com/iam/) | |
| 279 | cloud.google.com/iam/) |
CloudTasksGapicClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/cloud/tasks/v2beta2/cloudtasks.proto | |
| 81 | Iterate over pages of elements | |
| 85 | doSomethingWith($element); | |
| 90 | Alternatively: | |
| 92 | Iterate through all elements | |
| 95 | doSomethingWith($element); | |
| 137 | www.googleapis.com/auth/cloud-platform', | |
| 328 | Swallow the exception to continue trying other path templates | |
| 402 | Iterate over pages of elements | |
| 406 | doSomethingWith($element); | |
| 411 | Alternatively: | |
| 413 | Iterate through all elements | |
| 416 | doSomethingWith($element); | |
| 435 | cloud.google.com/logging/docs/view/advanced_filters). | |
| 554 | cloud.google.com/tasks/docs/queue-yaml) | |
| 631 | cloud.google.com/tasks/docs/queue-yaml) | |
| 707 | cloud.google.com/tasks/docs/queue-yaml) | |
| 887 | cloud.google.com/tasks/docs/manage-cloud-task-scaling). | |
| 945 | cloud.google.com/iam) permission on the specified | |
| 1007 | cloud.google.com/iam) permission on the specified | |
| 1094 | cloud.google.com/iam/docs/overview#permissions). | |
| 1147 | Iterate over pages of elements | |
| 1151 | doSomethingWith($element); | |
| 1156 | Alternatively: | |
| 1158 | Iterate through all elements | |
| 1161 | doSomethingWith($element); | |
| 1186 | cloud.google.com/iam/) | |
| 1271 | cloud.google.com/iam/) | |
| 1385 | cloud.google.com/iam/) | |
| 1549 | cloud.google.com/iam/) | |
| 1577 | cloud.google.com/appengine/docs/standard/java/javadoc/com/google/appengine/api/taskqueue/TaskOptions.html#tag-byte:A-), | |
| 1744 | cloud.google.com/iam/) | |
| 1829 | cloud.google.com/iam/) | |
| 1926 | cloud.google.com/iam/) |
GetTaskRequest.php
| Type | Line | Description |
|---|---|---|
| 35 | cloud.google.com/iam/) | |
| 61 | cloud.google.com/iam/) | |
| 109 | cloud.google.com/iam/) | |
| 129 | cloud.google.com/iam/) |
LeaseTasksRequest.php
| Type | Line | Description |
|---|---|---|
| 57 | cloud.google.com/iam/) | |
| 80 | cloud.google.com/appengine/docs/standard/java/javadoc/com/google/appengine/api/taskqueue/TaskOptions.html#tag-byte:A-), | |
| 123 | cloud.google.com/iam/) | |
| 142 | cloud.google.com/appengine/docs/standard/java/javadoc/com/google/appengine/api/taskqueue/TaskOptions.html#tag-byte:A-), | |
| 265 | cloud.google.com/iam/) | |
| 285 | cloud.google.com/iam/) | |
| 317 | cloud.google.com/appengine/docs/standard/java/javadoc/com/google/appengine/api/taskqueue/TaskOptions.html#tag-byte:A-), | |
| 348 | cloud.google.com/appengine/docs/standard/java/javadoc/com/google/appengine/api/taskqueue/TaskOptions.html#tag-byte:A-), |
ListQueuesRequest.php
| Type | Line | Description |
|---|---|---|
| 31 | cloud.google.com/logging/docs/view/advanced_filters). | |
| 78 | cloud.google.com/logging/docs/view/advanced_filters). | |
| 139 | cloud.google.com/logging/docs/view/advanced_filters). | |
| 157 | cloud.google.com/logging/docs/view/advanced_filters). |
ListTasksRequest.php
| Type | Line | Description |
|---|---|---|
| 35 | cloud.google.com/iam/) | |
| 84 | cloud.google.com/iam/) | |
| 147 | cloud.google.com/iam/) | |
| 167 | cloud.google.com/iam/) |
PullMessage.php
| Type | Line | Description |
|---|---|---|
| 39 | cloud.google.com/appengine/docs/standard/java/javadoc/com/google/appengine/api/taskqueue/TaskOptions.html#tag-byte:A-), | |
| 67 | cloud.google.com/appengine/docs/standard/java/javadoc/com/google/appengine/api/taskqueue/TaskOptions.html#tag-byte:A-), | |
| 115 | cloud.google.com/appengine/docs/standard/java/javadoc/com/google/appengine/api/taskqueue/TaskOptions.html#tag-byte:A-), | |
| 139 | cloud.google.com/appengine/docs/standard/java/javadoc/com/google/appengine/api/taskqueue/TaskOptions.html#tag-byte:A-), |
State.php
| Type | Line | Description |
|---|---|---|
| 45 | cloud.google.com/appengine/docs/python/config/queueref) or | |
| 46 | cloud.google.com/appengine/docs/standard/java/config/queueref) is uploaded | |
| 60 | Adding a class alias for backwards compatibility with the previous class name. |
Queue.php
| Type | Line | Description |
|---|---|---|
| 29 | cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects) | |
| 33 | cloud.google.com/about/locations/. | |
| 66 | cloud.google.com/appengine/docs/standard/python/taskqueue/push/retrying-tasks). | |
| 76 | cloud.google.com/appengine/docs/python/config/queueref). | |
| 87 | cloud.google.com/appengine/docs/standard/python/taskqueue/push/deleting-tasks-and-queues#purging_all_tasks_from_a_queue). | |
| 111 | cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects) | |
| 115 | cloud.google.com/about/locations/. | |
| 146 | cloud.google.com/appengine/docs/standard/python/taskqueue/push/retrying-tasks). | |
| 152 | cloud.google.com/appengine/docs/python/config/queueref). | |
| 159 | cloud.google.com/appengine/docs/standard/python/taskqueue/push/deleting-tasks-and-queues#purging_all_tasks_from_a_queue). | |
| 178 | cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects) | |
| 182 | cloud.google.com/about/locations/. | |
| 203 | cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects) | |
| 207 | cloud.google.com/about/locations/. | |
| 337 | cloud.google.com/appengine/docs/standard/python/taskqueue/push/retrying-tasks). | |
| 355 | cloud.google.com/appengine/docs/standard/python/taskqueue/push/retrying-tasks). | |
| 374 | cloud.google.com/appengine/docs/python/config/queueref). | |
| 390 | cloud.google.com/appengine/docs/python/config/queueref). | |
| 410 | cloud.google.com/appengine/docs/standard/python/taskqueue/push/deleting-tasks-and-queues#purging_all_tasks_from_a_queue). | |
| 427 | cloud.google.com/appengine/docs/standard/python/taskqueue/push/deleting-tasks-and-queues#purging_all_tasks_from_a_queue). |
RateLimits.php
| Type | Line | Description |
|---|---|---|
| 32 | cloud.google.com/appengine/docs/standard/python/config/queueref#rate). | |
| 44 | wikipedia.org/wiki/Token_Bucket) | |
| 57 | cloud.google.com/appengine/docs/standard/python/config/queueref#bucket_size). | |
| 82 | cloud.google.com/appengine/docs/standard/python/config/queueref#max_concurrent_requests). | |
| 104 | cloud.google.com/appengine/docs/standard/python/config/queueref#rate). | |
| 112 | wikipedia.org/wiki/Token_Bucket) | |
| 125 | cloud.google.com/appengine/docs/standard/python/config/queueref#bucket_size). | |
| 146 | cloud.google.com/appengine/docs/standard/python/config/queueref#max_concurrent_requests). | |
| 164 | cloud.google.com/appengine/docs/standard/python/config/queueref#rate). | |
| 184 | cloud.google.com/appengine/docs/standard/python/config/queueref#rate). | |
| 205 | wikipedia.org/wiki/Token_Bucket) | |
| 218 | cloud.google.com/appengine/docs/standard/python/config/queueref#bucket_size). | |
| 243 | wikipedia.org/wiki/Token_Bucket) | |
| 256 | cloud.google.com/appengine/docs/standard/python/config/queueref#bucket_size). | |
| 290 | cloud.google.com/appengine/docs/standard/python/config/queueref#max_concurrent_requests). | |
| 312 | cloud.google.com/appengine/docs/standard/python/config/queueref#max_concurrent_requests). |
RenewLeaseRequest.php
| Type | Line | Description |
|---|---|---|
| 56 | cloud.google.com/iam/) | |
| 94 | cloud.google.com/iam/) | |
| 210 | cloud.google.com/iam/) | |
| 230 | cloud.google.com/iam/) |
RetryConfig.php
| Type | Line | Description |
|---|---|---|
| 32 | cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). | |
| 48 | cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). | |
| 64 | cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). | |
| 90 | cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). | |
| 123 | cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). | |
| 135 | cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). | |
| 147 | cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). | |
| 169 | cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). | |
| 248 | cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). | |
| 271 | cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). | |
| 296 | cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). | |
| 317 | cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). | |
| 342 | cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). | |
| 363 | cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). | |
| 398 | cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). | |
| 429 | cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). |
RunTaskRequest.php
| Type | Line | Description |
|---|---|---|
| 36 | cloud.google.com/iam/) | |
| 62 | cloud.google.com/iam/) | |
| 110 | cloud.google.com/iam/) | |
| 130 | cloud.google.com/iam/) |
View.php
| Type | Line | Description |
|---|---|---|
| 41 | cloud.google.com/iam/) | |
| 49 | Adding a class alias for backwards compatibility with the previous class name. |
Task.php
| Type | Line | Description |
|---|---|---|
| 26 | cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects) | |
| 30 | cloud.google.com/about/locations/. | |
| 87 | cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects) | |
| 91 | cloud.google.com/about/locations/. | |
| 137 | cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects) | |
| 141 | cloud.google.com/about/locations/. | |
| 163 | cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects) | |
| 167 | cloud.google.com/about/locations/. |
AppEngineHttpQueue.php
| Type | Line | Description |
|---|---|---|
| 18 | cloud.google.com/appengine/docs/admin-api/access-control) | |
| 21 | www.googleapis.com/auth/cloud-platform` |
AppEngineHttpRequest.php
| Type | Line | Description |
|---|---|---|
| 18 | cloud.google.com/appengine/docs/admin-api/access-control) | |
| 21 | www.googleapis.com/auth/cloud-platform` | |
| 24 | cloud.google.com/appengine/docs/standard/python/how-requests-are-routed) | |
| 26 | cloud.google.com/appengine/docs/python/config/dispatchref). | |
| 54 | cloud.google.com/appengine/docs/java/taskqueue/push/creating-handlers#writing_a_push_task_request_handler) | |
| 57 | cloud.google.com/appengine/docs/python/tools/webapp/requesthandlerclass). | |
| 90 | code.google.com/appengine)"`. | |
| 92 | code.google.com/appengine)"` to the | |
| 109 | cloud.google.com/appengine/docs/python/taskqueue/push/creating-handlers#reading_request_headers). | |
| 139 | cloud.google.com/appengine/docs/java/taskqueue/push/creating-handlers#writing_a_push_task_request_handler) | |
| 142 | cloud.google.com/appengine/docs/python/tools/webapp/requesthandlerclass). | |
| 163 | code.google.com/appengine)"`. | |
| 165 | code.google.com/appengine)"` to the | |
| 182 | cloud.google.com/appengine/docs/python/taskqueue/push/creating-handlers#reading_request_headers). | |
| 204 | cloud.google.com/appengine/docs/java/taskqueue/push/creating-handlers#writing_a_push_task_request_handler) | |
| 207 | cloud.google.com/appengine/docs/python/tools/webapp/requesthandlerclass). | |
| 222 | cloud.google.com/appengine/docs/java/taskqueue/push/creating-handlers#writing_a_push_task_request_handler) | |
| 225 | cloud.google.com/appengine/docs/python/tools/webapp/requesthandlerclass). | |
| 315 | code.google.com/appengine)"`. | |
| 317 | code.google.com/appengine)"` to the | |
| 334 | cloud.google.com/appengine/docs/python/taskqueue/push/creating-handlers#reading_request_headers). | |
| 357 | code.google.com/appengine)"`. | |
| 359 | code.google.com/appengine)"` to the | |
| 376 | cloud.google.com/appengine/docs/python/taskqueue/push/creating-handlers#reading_request_headers). |
AppEngineRouting.php
| Type | Line | Description |
|---|---|---|
| 15 | cloud.google.com/appengine/docs/standard/python/config/appref) | |
| 19 | cloud.google.com/appengine/docs/standard/python/config/appref) | |
| 22 | cloud.google.com/appengine/docs/python/an-overview-of-app-engine), | |
| 23 | cloud.google.com/appengine/docs/python/microservices-on-app-engine), | |
| 24 | cloud.google.com/appengine/docs/standard/python/how-requests-are-routed), | |
| 25 | cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed). | |
| 74 | cloud.google.com/appengine/docs/python/an-overview-of-app-engine?hl=en_US#scaling_types_and_instance_classes). | |
| 76 | cloud.google.com/appengine/docs/standard/python/how-requests-are-routed) | |
| 77 | cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed). | |
| 90 | cloud.google.com/appengine/docs/standard/python/how-requests-are-routed). | |
| 137 | cloud.google.com/appengine/docs/python/an-overview-of-app-engine?hl=en_US#scaling_types_and_instance_classes). | |
| 139 | cloud.google.com/appengine/docs/standard/python/how-requests-are-routed) | |
| 140 | cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed). | |
| 149 | cloud.google.com/appengine/docs/standard/python/how-requests-are-routed). | |
| 266 | cloud.google.com/appengine/docs/python/an-overview-of-app-engine?hl=en_US#scaling_types_and_instance_classes). | |
| 268 | cloud.google.com/appengine/docs/standard/python/how-requests-are-routed) | |
| 269 | cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed). | |
| 284 | cloud.google.com/appengine/docs/python/an-overview-of-app-engine?hl=en_US#scaling_types_and_instance_classes). | |
| 286 | cloud.google.com/appengine/docs/standard/python/how-requests-are-routed) | |
| 287 | cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed). | |
| 309 | cloud.google.com/appengine/docs/standard/python/how-requests-are-routed). | |
| 327 | cloud.google.com/appengine/docs/standard/python/how-requests-are-routed). |
CloudTasksClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/cloud/tasks/v2beta3/cloudtasks.proto | |
| 36 | This class is intentionally empty, and is intended to hold manual | |
| 37 | additions to the generated {@see CloudTasksGapicClient} class. |
CloudTasksGrpcClient.php
| Type | Line | Description |
|---|---|---|
| 2 | GENERATED CODE -- DO NOT EDIT! | |
| 4 | Original file comments: | |
| 5 | Copyright 2018 Google LLC. | |
| 7 | // Licensed under the Apache License, Version 2.0 (the "License"); | |
| 8 | you may not use this file except in compliance with the License. | |
| 9 | You may obtain a copy of the License at | |
| 11 | // http://www.apache.org/licenses/LICENSE-2.0 | |
| 13 | // Unless required by applicable law or agreed to in writing, software | |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, | |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 16 | See the License for the specific language governing permissions and | |
| 17 | limitations under the License. | |
| 19 | // | |
| 77 | cloud.google.com/tasks/docs/queue-yaml) | |
| 104 | cloud.google.com/tasks/docs/queue-yaml) | |
| 129 | cloud.google.com/tasks/docs/queue-yaml) | |
| 194 | cloud.google.com/tasks/docs/manage-cloud-task-scaling). | |
| 213 | cloud.google.com/iam) permission on the specified | |
| 237 | cloud.google.com/iam) permission on the specified |
CreateTaskRequest.php
| Type | Line | Description |
|---|---|---|
| 70 | cloud.google.com/iam/) | |
| 127 | cloud.google.com/iam/) | |
| 259 | cloud.google.com/iam/) | |
| 279 | cloud.google.com/iam/) |
CloudTasksGapicClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/cloud/tasks/v2beta3/cloudtasks.proto | |
| 74 | Iterate over pages of elements | |
| 78 | doSomethingWith($element); | |
| 83 | Alternatively: | |
| 85 | Iterate through all elements | |
| 88 | doSomethingWith($element); | |
| 130 | www.googleapis.com/auth/cloud-platform', | |
| 321 | Swallow the exception to continue trying other path templates | |
| 395 | Iterate over pages of elements | |
| 399 | doSomethingWith($element); | |
| 404 | Alternatively: | |
| 406 | Iterate through all elements | |
| 409 | doSomethingWith($element); | |
| 428 | cloud.google.com/logging/docs/view/advanced_filters). | |
| 547 | cloud.google.com/tasks/docs/queue-yaml) | |
| 624 | cloud.google.com/tasks/docs/queue-yaml) | |
| 700 | cloud.google.com/tasks/docs/queue-yaml) | |
| 880 | cloud.google.com/tasks/docs/manage-cloud-task-scaling). | |
| 938 | cloud.google.com/iam) permission on the specified | |
| 1000 | cloud.google.com/iam) permission on the specified | |
| 1087 | cloud.google.com/iam/docs/overview#permissions). | |
| 1140 | Iterate over pages of elements | |
| 1144 | doSomethingWith($element); | |
| 1149 | Alternatively: | |
| 1151 | Iterate through all elements | |
| 1154 | doSomethingWith($element); | |
| 1179 | cloud.google.com/iam/) | |
| 1264 | cloud.google.com/iam/) | |
| 1377 | cloud.google.com/iam/) | |
| 1526 | cloud.google.com/iam/) |
GetTaskRequest.php
| Type | Line | Description |
|---|---|---|
| 35 | cloud.google.com/iam/) | |
| 61 | cloud.google.com/iam/) | |
| 109 | cloud.google.com/iam/) | |
| 129 | cloud.google.com/iam/) |
ListQueuesRequest.php
| Type | Line | Description |
|---|---|---|
| 31 | cloud.google.com/logging/docs/view/advanced_filters). | |
| 78 | cloud.google.com/logging/docs/view/advanced_filters). | |
| 139 | cloud.google.com/logging/docs/view/advanced_filters). | |
| 157 | cloud.google.com/logging/docs/view/advanced_filters). |
ListTasksRequest.php
| Type | Line | Description |
|---|---|---|
| 35 | cloud.google.com/iam/) | |
| 84 | cloud.google.com/iam/) | |
| 147 | cloud.google.com/iam/) | |
| 167 | cloud.google.com/iam/) |
State.php
| Type | Line | Description |
|---|---|---|
| 43 | cloud.google.com/appengine/docs/python/config/queueref) or | |
| 44 | cloud.google.com/appengine/docs/standard/java/config/queueref) is uploaded | |
| 56 | Adding a class alias for backwards compatibility with the previous class name. |
Queue.php
| Type | Line | Description |
|---|---|---|
| 29 | cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects) | |
| 33 | cloud.google.com/about/locations/. | |
| 66 | cloud.google.com/appengine/docs/standard/python/taskqueue/push/retrying-tasks). | |
| 76 | cloud.google.com/appengine/docs/python/config/queueref). | |
| 87 | cloud.google.com/appengine/docs/standard/python/taskqueue/push/deleting-tasks-and-queues#purging_all_tasks_from_a_queue). | |
| 111 | cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects) | |
| 115 | cloud.google.com/about/locations/. | |
| 143 | cloud.google.com/appengine/docs/standard/python/taskqueue/push/retrying-tasks). | |
| 149 | cloud.google.com/appengine/docs/python/config/queueref). | |
| 156 | cloud.google.com/appengine/docs/standard/python/taskqueue/push/deleting-tasks-and-queues#purging_all_tasks_from_a_queue). | |
| 175 | cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects) | |
| 179 | cloud.google.com/about/locations/. | |
| 200 | cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects) | |
| 204 | cloud.google.com/about/locations/. | |
| 306 | cloud.google.com/appengine/docs/standard/python/taskqueue/push/retrying-tasks). | |
| 324 | cloud.google.com/appengine/docs/standard/python/taskqueue/push/retrying-tasks). | |
| 343 | cloud.google.com/appengine/docs/python/config/queueref). | |
| 359 | cloud.google.com/appengine/docs/python/config/queueref). | |
| 379 | cloud.google.com/appengine/docs/standard/python/taskqueue/push/deleting-tasks-and-queues#purging_all_tasks_from_a_queue). | |
| 396 | cloud.google.com/appengine/docs/standard/python/taskqueue/push/deleting-tasks-and-queues#purging_all_tasks_from_a_queue). |
RateLimits.php
| Type | Line | Description |
|---|---|---|
| 29 | cloud.google.com/appengine/docs/standard/python/config/queueref#rate). | |
| 41 | wikipedia.org/wiki/Token_Bucket) | |
| 54 | cloud.google.com/appengine/docs/standard/python/config/queueref#bucket_size). | |
| 76 | cloud.google.com/appengine/docs/standard/python/config/queueref#max_concurrent_requests). | |
| 95 | cloud.google.com/appengine/docs/standard/python/config/queueref#rate). | |
| 103 | wikipedia.org/wiki/Token_Bucket) | |
| 116 | cloud.google.com/appengine/docs/standard/python/config/queueref#bucket_size). | |
| 134 | cloud.google.com/appengine/docs/standard/python/config/queueref#max_concurrent_requests). | |
| 149 | cloud.google.com/appengine/docs/standard/python/config/queueref#rate). | |
| 166 | cloud.google.com/appengine/docs/standard/python/config/queueref#rate). | |
| 187 | wikipedia.org/wiki/Token_Bucket) | |
| 200 | cloud.google.com/appengine/docs/standard/python/config/queueref#bucket_size). | |
| 225 | wikipedia.org/wiki/Token_Bucket) | |
| 238 | cloud.google.com/appengine/docs/standard/python/config/queueref#bucket_size). | |
| 269 | cloud.google.com/appengine/docs/standard/python/config/queueref#max_concurrent_requests). | |
| 288 | cloud.google.com/appengine/docs/standard/python/config/queueref#max_concurrent_requests). |
RetryConfig.php
| Type | Line | Description |
|---|---|---|
| 28 | cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). | |
| 45 | cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). | |
| 60 | cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). | |
| 75 | cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). | |
| 100 | cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). | |
| 121 | cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). | |
| 134 | cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). | |
| 145 | cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). | |
| 156 | cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). | |
| 177 | cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). | |
| 194 | cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). | |
| 213 | cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). | |
| 239 | cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). | |
| 261 | cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). | |
| 285 | cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). | |
| 305 | cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). | |
| 329 | cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). | |
| 349 | cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). | |
| 383 | cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). | |
| 413 | cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). |
RunTaskRequest.php
| Type | Line | Description |
|---|---|---|
| 36 | cloud.google.com/iam/) | |
| 62 | cloud.google.com/iam/) | |
| 110 | cloud.google.com/iam/) | |
| 130 | cloud.google.com/iam/) |
View.php
| Type | Line | Description |
|---|---|---|
| 40 | cloud.google.com/iam/) | |
| 48 | Adding a class alias for backwards compatibility with the previous class name. |
Task.php
| Type | Line | Description |
|---|---|---|
| 26 | cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects) | |
| 30 | cloud.google.com/about/locations/. | |
| 105 | cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects) | |
| 109 | cloud.google.com/about/locations/. | |
| 157 | cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects) | |
| 161 | cloud.google.com/about/locations/. | |
| 183 | cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects) | |
| 187 | cloud.google.com/about/locations/. |
TextToSpeechGapicClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/cloud/texttospeech/v1/cloud_tts.proto | |
| 89 | www.googleapis.com/auth/cloud-platform', | |
| 188 | www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. If |
ListVoicesRequest.php
| Type | Line | Description |
|---|---|---|
| 20 | www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. If | |
| 40 | www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. If | |
| 56 | www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. If | |
| 74 | www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. If |
SsmlVoiceGender.php
| Type | Line | Description |
|---|---|---|
| 9 | www.w3.org/TR/speech-synthesis11/#edef_voice). |
TextToSpeechClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/cloud/texttospeech/v1/cloud_tts.proto | |
| 36 | This class is intentionally empty, and is intended to hold manual | |
| 37 | additions to the generated {@see TextToSpeechGapicClient} class. |
TextToSpeechGrpcClient.php
| Type | Line | Description |
|---|---|---|
| 2 | GENERATED CODE -- DO NOT EDIT! | |
| 4 | Original file comments: | |
| 5 | Copyright 2018 Google Inc. | |
| 7 | // Licensed under the Apache License, Version 2.0 (the "License"); | |
| 8 | you may not use this file except in compliance with the License. | |
| 9 | You may obtain a copy of the License at | |
| 11 | // http://www.apache.org/licenses/LICENSE-2.0 | |
| 13 | // Unless required by applicable law or agreed to in writing, software | |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, | |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 16 | See the License for the specific language governing permissions and | |
| 17 | limitations under the License. | |
| 19 | namespace Google\Cloud\TextToSpeech\V1; |
Voice.php
| Type | Line | Description |
|---|---|---|
| 20 | www.rfc-editor.org/rfc/bcp/bcp47.txt) language tags (e.g. | |
| 53 | www.rfc-editor.org/rfc/bcp/bcp47.txt) language tags (e.g. | |
| 70 | www.rfc-editor.org/rfc/bcp/bcp47.txt) language tags (e.g. | |
| 83 | www.rfc-editor.org/rfc/bcp/bcp47.txt) language tags (e.g. |
VoiceSelectionParams.php
| Type | Line | Description |
|---|---|---|
| 20 | www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag, e.g. | |
| 60 | www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag, e.g. | |
| 88 | www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag, e.g. | |
| 109 | www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag, e.g. |
Annotation.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 32 | cloud.google.com/trace/docs/reference/v2/rest/v2/TimeEvents#annotation Annotation model documentation |
Attributes.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 24 | php.net/arrayaccess), | |
| 38 | cloud.google.com/trace/docs/reference/v2/rest/v2/Attributes Attributes model documentation |
AttributeTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
ConnectionInterface.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 22 | cloud.google.com/trace). |
Grpc.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 29 | cloud.google.com/trace/docs/). |
Rest.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 26 | cloud.google.com/trace/docs/reference/rest/). | |
| 32 | cloudtrace.googleapis.com/'; |
Link.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 37 | cloud.google.com/trace/docs/reference/v2/rest/v2/Links#link Link model documentation |
MessageEvent.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 35 | cloud.google.com/trace/docs/reference/v2/rest/v2/TimeEvents#messageevent MessageEvent model documentation |
Span.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 44 | cloud.google.com/trace/docs/reference/v2/rest/v2/projects.traces/batchWrite#Span Span model documentation | |
| 202 | Set the start time to now | |
| 207 | Set the start time to a custom time | |
| 240 | Set the end time to now | |
| 245 | Set the end time to a custom time | |
| 508 | Try to find the first stacktrace class entry that doesn't start with Google\Cloud\Trace | |
| 518 | We couldn't find a suitable backtrace entry - generate a random one |
StackTrace.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 31 | cloud.google.com/trace/docs/reference/v2/rest/v2/StackTrace StackTrace model documentation |
Status.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 32 | cloud.google.com/trace/docs/reference/v2/rest/v2/Status Status model documentation |
TimeEvent.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 23 | cloud.google.com/trace/docs/reference/v2/rest/v2/TimeEvents#timeevent TimeEvent model documentation |
TimestampTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 42 | Expect that this is a timestamp |
Trace.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
TraceClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 34 | cloud.google.com/trace/docs/). | |
| 49 | www.googleapis.com/auth/cloud-platform'; | |
| 115 | cloud.google.com/trace/docs/reference/v1/rest/v1/projects/patchTraces Project patchTraces API documentation. | |
| 137 | cloud.google.com/trace/docs/reference/v1/rest/v1/projects/patchTraces Project patchTraces API documentation. | |
| 152 | throws ServiceException on failure | |
| 168 | Create a trace with a generated traceId | |
| 173 | Create a trace with a specific traceId |
TraceServiceGapicClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/devtools/cloudtrace/v2/tracing.proto | |
| 106 | www.googleapis.com/auth/cloud-platform', | |
| 107 | www.googleapis.com/auth/trace.append', | |
| 234 | Swallow the exception to continue trying other path templates |
Attributes.php
| Type | Line | Description |
|---|---|---|
| 134 | Adding a class alias for backwards compatibility with the previous class name. |
Type.php
| Type | Line | Description |
|---|---|---|
| 35 | Adding a class alias for backwards compatibility with the previous class name. |
Link.php
| Type | Line | Description |
|---|---|---|
| 177 | Adding a class alias for backwards compatibility with the previous class name. |
Links.php
| Type | Line | Description |
|---|---|---|
| 107 | Adding a class alias for backwards compatibility with the previous class name. |
Annotation.php
| Type | Line | Description |
|---|---|---|
| 110 | Adding a class alias for backwards compatibility with the previous class name. |
Type.php
| Type | Line | Description |
|---|---|---|
| 34 | Adding a class alias for backwards compatibility with the previous class name. |
MessageEvent.php
| Type | Line | Description |
|---|---|---|
| 186 | Adding a class alias for backwards compatibility with the previous class name. |
TimeEvent.php
| Type | Line | Description |
|---|---|---|
| 133 | Adding a class alias for backwards compatibility with the previous class name. |
TimeEvents.php
| Type | Line | Description |
|---|---|---|
| 146 | Adding a class alias for backwards compatibility with the previous class name. |
StackFrame.php
| Type | Line | Description |
|---|---|---|
| 27 | www.avabodh.com/cxxin/namemangling.html). The name can | |
| 77 | www.avabodh.com/cxxin/namemangling.html). The name can | |
| 128 | www.avabodh.com/cxxin/namemangling.html). The name can | |
| 141 | www.avabodh.com/cxxin/namemangling.html). The name can | |
| 292 | Adding a class alias for backwards compatibility with the previous class name. |
StackFrames.php
| Type | Line | Description |
|---|---|---|
| 110 | Adding a class alias for backwards compatibility with the previous class name. |
TraceServiceClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/devtools/cloudtrace/v2/tracing.proto | |
| 36 | This class is intentionally empty, and is intended to hold manual | |
| 37 | additions to the generated {@see TraceServiceGapicClient} class. |
TraceServiceGrpcClient.php
| Type | Line | Description |
|---|---|---|
| 2 | GENERATED CODE -- DO NOT EDIT! | |
| 4 | Original file comments: | |
| 5 | Copyright 2017 Google Inc. | |
| 7 | // Licensed under the Apache License, Version 2.0 (the "License"); | |
| 8 | you may not use this file except in compliance with the License. | |
| 9 | You may obtain a copy of the License at | |
| 11 | // http://www.apache.org/licenses/LICENSE-2.0 | |
| 13 | // Unless required by applicable law or agreed to in writing, software | |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, | |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 16 | See the License for the specific language governing permissions and | |
| 17 | limitations under the License. | |
| 19 | namespace Google\Cloud\Trace\V2; |
ConnectionInterface.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 22 | cloud.google.com/translation/). |
Rest.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 28 | cloud.google.com/translation/docs/how-to). | |
| 35 | translation.googleapis.com/language/translate/'; |
TranslateClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 31 | cloud.google.com/translation/docs/). | |
| 34 | cloud.google.com/translation/v2/pricing) | |
| 35 | cloud.google.com/translation/v2/faq) pages for details. | |
| 42 | cloud.google.com/translation/v2/translating-text-with-rest#before-you-begin) | |
| 60 | www.googleapis.com/auth/cloud-platform'; | |
| 150 | cloud.google.com/translation/v2/translating-text-with-rest Translating Text | |
| 171 | cloud.google.com/translate/docs/languages) | |
| 202 | cloud.google.com/translation/v2/translating-text-with-rest Translating Text | |
| 223 | cloud.google.com/translate/docs/languages) | |
| 283 | cloud.google.com/translation/v2/detecting-language-with-rest Detecting Langauge | |
| 313 | cloud.google.com/translation/v2/detecting-language-with-rest Detecting Langauge | |
| 358 | cloud.google.com/translation/v2/discovering-supported-languages-with-rest Discovering Supported Languages | |
| 390 | cloud.google.com/translation/v2/discovering-supported-languages-with-rest Discovering Supported Languages |
AnnotateVideoRequest.php
| Type | Line | Description |
|---|---|---|
| 20 | cloud.google.com/storage/) URIs are | |
| 22 | bucket-id/object-id` (other URI formats return | |
| 55 | cloud.google.com/storage/) | |
| 57 | bucket-id/object-id` (other URI formats return | |
| 81 | cloud.google.com/storage/) URIs are | |
| 83 | bucket-id/object-id` (other URI formats return | |
| 100 | cloud.google.com/storage/) | |
| 102 | bucket-id/object-id` (other URI formats return | |
| 118 | cloud.google.com/storage/) URIs are | |
| 120 | bucket-id/object-id` (other URI formats return | |
| 138 | cloud.google.com/storage/) URIs are | |
| 140 | bucket-id/object-id` (other URI formats return | |
| 244 | cloud.google.com/storage/) | |
| 246 | bucket-id/object-id` (other URI formats return | |
| 260 | cloud.google.com/storage/) | |
| 262 | bucket-id/object-id` (other URI formats return |
Entity.php
| Type | Line | Description |
|---|---|---|
| 21 | developers.google.com/knowledge-graph/). | |
| 48 | developers.google.com/knowledge-graph/). | |
| 63 | developers.google.com/knowledge-graph/). | |
| 76 | developers.google.com/knowledge-graph/). |
VideoIntelligenceServiceGapicClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/cloud/videointelligence/v1/video_intelligence.proto | |
| 52 | demomaker/cat.mp4'; | |
| 59 | doSomethingWith($result) | |
| 62 | handleError($error) | |
| 66 | Alternatively: | |
| 68 | start the operation, keep the operation name, and resume later | |
| 71 | ... do other work | |
| 74 | ... do other work | |
| 79 | doSomethingWith($result) | |
| 82 | handleError($error) | |
| 117 | www.googleapis.com/auth/cloud-platform', | |
| 242 | demomaker/cat.mp4'; | |
| 249 | doSomethingWith($result) | |
| 252 | handleError($error) | |
| 256 | Alternatively: | |
| 258 | start the operation, keep the operation name, and resume later | |
| 261 | ... do other work | |
| 264 | ... do other work | |
| 269 | doSomethingWith($result) | |
| 272 | handleError($error) | |
| 284 | cloud.google.com/storage/) URIs are | |
| 286 | bucket-id/object-id` (other URI formats return | |
| 288 | cloud.google.com/storage/docs/reference-uris). | |
| 304 | cloud.google.com/storage/) | |
| 306 | bucket-id/object-id` (other URI formats return | |
| 308 | cloud.google.com/storage/docs/reference-uris). |
SpeechContext.php
| Type | Line | Description |
|---|---|---|
| 25 | cloud.google.com/speech/limits#content). | |
| 43 | cloud.google.com/speech/limits#content). | |
| 57 | cloud.google.com/speech/limits#content). | |
| 73 | cloud.google.com/speech/limits#content). |
SpeechTranscription.php
| Type | Line | Description |
|---|---|---|
| 29 | www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the | |
| 50 | www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the | |
| 94 | www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the | |
| 108 | www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the |
SpeechTranscriptionConfig.php
| Type | Line | Description |
|---|---|---|
| 20 | www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. | |
| 22 | cloud.google.com/speech/docs/languages) | |
| 109 | www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. | |
| 111 | cloud.google.com/speech/docs/languages) | |
| 162 | www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. | |
| 164 | cloud.google.com/speech/docs/languages) | |
| 177 | www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. | |
| 179 | cloud.google.com/speech/docs/languages) |
VideoAnnotationProgress.php
| Type | Line | Description |
|---|---|---|
| 20 | cloud.google.com/storage/). | |
| 53 | cloud.google.com/storage/). | |
| 70 | cloud.google.com/storage/). | |
| 82 | cloud.google.com/storage/). |
VideoAnnotationResults.php
| Type | Line | Description |
|---|---|---|
| 20 | cloud.google.com/storage/). | |
| 86 | cloud.google.com/storage/). | |
| 116 | cloud.google.com/storage/). | |
| 128 | cloud.google.com/storage/). |
VideoIntelligenceServiceClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/cloud/videointelligence/v1/video_intelligence.proto | |
| 34 | This class is intentionally empty, and is intended to hold manual | |
| 35 | additions to the generated {@see VideoIntelligenceServiceGapicClient} class. |
VideoIntelligenceServiceGrpcClient.php
| Type | Line | Description |
|---|---|---|
| 2 | GENERATED CODE -- DO NOT EDIT! | |
| 4 | Original file comments: | |
| 5 | Copyright 2017 Google Inc. | |
| 7 | // Licensed under the Apache License, Version 2.0 (the "License"); | |
| 8 | you may not use this file except in compliance with the License. | |
| 9 | You may obtain a copy of the License at | |
| 11 | // http://www.apache.org/licenses/LICENSE-2.0 | |
| 13 | // Unless required by applicable law or agreed to in writing, software | |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, | |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 16 | See the License for the specific language governing permissions and | |
| 17 | limitations under the License. | |
| 19 | namespace Google\Cloud\VideoIntelligence\V1; |
AnnotateVideoRequest.php
| Type | Line | Description |
|---|---|---|
| 20 | cloud.google.com/storage/) URIs are | |
| 22 | bucket-id/object-id` (other URI formats return | |
| 55 | cloud.google.com/storage/) | |
| 57 | bucket-id/object-id` (other URI formats return | |
| 81 | cloud.google.com/storage/) URIs are | |
| 83 | bucket-id/object-id` (other URI formats return | |
| 100 | cloud.google.com/storage/) | |
| 102 | bucket-id/object-id` (other URI formats return | |
| 118 | cloud.google.com/storage/) URIs are | |
| 120 | bucket-id/object-id` (other URI formats return | |
| 138 | cloud.google.com/storage/) URIs are | |
| 140 | bucket-id/object-id` (other URI formats return | |
| 244 | cloud.google.com/storage/) | |
| 246 | bucket-id/object-id` (other URI formats return | |
| 260 | cloud.google.com/storage/) | |
| 262 | bucket-id/object-id` (other URI formats return |
Entity.php
| Type | Line | Description |
|---|---|---|
| 21 | developers.google.com/knowledge-graph/). | |
| 48 | developers.google.com/knowledge-graph/). | |
| 63 | developers.google.com/knowledge-graph/). | |
| 76 | developers.google.com/knowledge-graph/). |
VideoIntelligenceServiceGapicClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/cloud/videointelligence/v1beta2/video_intelligence.proto | |
| 54 | demomaker/cat.mp4'; | |
| 61 | doSomethingWith($result) | |
| 64 | handleError($error) | |
| 68 | Alternatively: | |
| 70 | start the operation, keep the operation name, and resume later | |
| 73 | ... do other work | |
| 76 | ... do other work | |
| 81 | doSomethingWith($result) | |
| 84 | handleError($error) | |
| 121 | www.googleapis.com/auth/cloud-platform', | |
| 249 | demomaker/cat.mp4'; | |
| 256 | doSomethingWith($result) | |
| 259 | handleError($error) | |
| 263 | Alternatively: | |
| 265 | start the operation, keep the operation name, and resume later | |
| 268 | ... do other work | |
| 271 | ... do other work | |
| 276 | doSomethingWith($result) | |
| 279 | handleError($error) | |
| 291 | cloud.google.com/storage/) URIs are | |
| 293 | bucket-id/object-id` (other URI formats return | |
| 295 | cloud.google.com/storage/docs/reference-uris). | |
| 311 | cloud.google.com/storage/) | |
| 313 | bucket-id/object-id` (other URI formats return | |
| 315 | cloud.google.com/storage/docs/reference-uris). |
VideoAnnotationProgress.php
| Type | Line | Description |
|---|---|---|
| 20 | cloud.google.com/storage/). | |
| 53 | cloud.google.com/storage/). | |
| 70 | cloud.google.com/storage/). | |
| 82 | cloud.google.com/storage/). |
VideoAnnotationResults.php
| Type | Line | Description |
|---|---|---|
| 20 | cloud.google.com/storage/). | |
| 80 | cloud.google.com/storage/). | |
| 108 | cloud.google.com/storage/). | |
| 120 | cloud.google.com/storage/). |
VideoIntelligenceServiceClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/cloud/videointelligence/v1beta2/video_intelligence.proto | |
| 36 | This class is intentionally empty, and is intended to hold manual | |
| 37 | additions to the generated {@see VideoIntelligenceServiceGapicClient} class. |
VideoIntelligenceServiceGrpcClient.php
| Type | Line | Description |
|---|---|---|
| 2 | GENERATED CODE -- DO NOT EDIT! | |
| 4 | Original file comments: | |
| 5 | Copyright 2017 Google Inc. | |
| 7 | // Licensed under the Apache License, Version 2.0 (the "License"); | |
| 8 | you may not use this file except in compliance with the License. | |
| 9 | You may obtain a copy of the License at | |
| 11 | // http://www.apache.org/licenses/LICENSE-2.0 | |
| 13 | // Unless required by applicable law or agreed to in writing, software | |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, | |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 16 | See the License for the specific language governing permissions and | |
| 17 | limitations under the License. | |
| 19 | namespace Google\Cloud\VideoIntelligence\V1beta2; |
AbstractFeature.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
CropHint.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 47 | cloud.google.com/vision/docs/reference/rest/v1/images/annotate#boundingpoly) | |
| 71 | cloud.google.com/vision/docs/reference/rest/v1/images/annotate#CropHint CropHint |
Document.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 69 | cloud.google.com/vision/docs/reference/rest/v1/images/annotate#TextAnnotation TextAnnotation |
Entity.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 24 | cloud.google.com/vision/docs/) features, namely | |
| 50 | developers.google.com/knowledge-graph/ Knowledge Graph | |
| 172 | cloud.google.com/vision/reference/rest/v1/images/annotate#entityannotation EntityAnnotation |
Landmarks.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 41 | cloud.google.com/vision/reference/rest/v1/images/annotate#type_1 Face Landmark Types | |
| 81 | cloud.google.com/vision/reference/rest/v1/images/annotate#position Position | |
| 101 | cloud.google.com/vision/reference/rest/v1/images/annotate#position Position | |
| 128 | cloud.google.com/vision/reference/rest/v1/images/annotate#position Position | |
| 160 | cloud.google.com/vision/reference/rest/v1/images/annotate#position Position | |
| 184 | cloud.google.com/vision/reference/rest/v1/images/annotate#position Position | |
| 204 | cloud.google.com/vision/reference/rest/v1/images/annotate#position Position | |
| 231 | cloud.google.com/vision/reference/rest/v1/images/annotate#position Position | |
| 263 | cloud.google.com/vision/reference/rest/v1/images/annotate#position Position | |
| 287 | cloud.google.com/vision/reference/rest/v1/images/annotate#position Position | |
| 314 | cloud.google.com/vision/reference/rest/v1/images/annotate#position Position | |
| 344 | cloud.google.com/vision/reference/rest/v1/images/annotate#position Position | |
| 375 | cloud.google.com/vision/reference/rest/v1/images/annotate#position Position | |
| 407 | cloud.google.com/vision/reference/rest/v1/images/annotate#position Position | |
| 431 | cloud.google.com/vision/reference/rest/v1/images/annotate#position Position | |
| 458 | cloud.google.com/vision/reference/rest/v1/images/annotate#position Position | |
| TODO | 412 | should this be earTragions? |
Face.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 207 | cloud.google.com/vision/reference/rest/v1/images/annotate#faceannotation FaceAnnotation |
FeatureInterface.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
ImageProperties.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 47 | cloud.google.com/vision/docs/reference/rest/v1/images/annotate#ImageProperties ImageProperties | |
| 73 | cloud.google.com/vision/reference/rest/v1/images/annotate#colorinfo ColorInfo |
LikelihoodTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
SafeSearch.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 100 | cloud.google.com/vision/docs/reference/rest/v1/images/annotate#SafeSearchAnnotation SafeSearchAnnotation |
WebEntity.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 73 | cloud.google.com/vision/docs/reference/rest/v1/images/annotate#WebEntity WebEntity |
WebImage.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 63 | cloud.google.com/vision/docs/reference/rest/v1/images/annotate#WebImage WebImage |
WebPage.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 63 | cloud.google.com/vision/docs/reference/rest/v1/images/annotate#WebPage WebPage |
Web.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 40 | cloud.google.com/vision/docs/reference/rest/v1/images/annotate#WebDetection WebDetection |
Annotation.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 29 | cloud.google.com/vision) image | |
| 199 | cloud.google.com/vision/reference/rest/v1/images/annotate#annotateimageresponse AnnotateImageResponse | |
| 217 | cloud.google.com/vision/docs/reference/rest/v1/images/annotate#FaceAnnotation FaceAnnotation | |
| 234 | cloud.google.com/vision/docs/reference/rest/v1/images/annotate#EntityAnnotation EntityAnnotation | |
| 251 | cloud.google.com/vision/docs/reference/rest/v1/images/annotate#EntityAnnotation EntityAnnotation | |
| 268 | cloud.google.com/vision/docs/reference/rest/v1/images/annotate#EntityAnnotation EntityAnnotation | |
| 285 | cloud.google.com/vision/docs/reference/rest/v1/images/annotate#EntityAnnotation EntityAnnotation | |
| 302 | cloud.google.com/vision/reference/rest/v1/images/annotate#fulltextannotation FullTextAnnotation | |
| 320 | cloud.google.com/vision/docs/reference/rest/v1/images/annotate#SafeSearchAnnotation SafeSearchAnnotation | |
| 338 | cloud.google.com/vision/docs/reference/rest/v1/images/annotate#ImageProperties ImageProperties | |
| 356 | cloud.google.com/vision/docs/reference/rest/v1/images/annotate#CropHintsAnnotation CropHintsAnnotation | |
| 374 | cloud.google.com/vision/docs/reference/rest/v1/images/annotate#WebDetection WebDetection | |
| 391 | cloud.google.com/vision/reference/rest/v1/images/annotate#status Status Format |
ConnectionInterface.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 22 | cloud.google.com/vision). |
Rest.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 28 | cloud.google.com/vision/reference/rest/). | |
| 35 | vision.googleapis.com/'; |
Image.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 26 | cloud.google.com/vision). | |
| 28 | cloud.google.com/vision/docs/pricing) | |
| 39 | cloud.google.com/vision/docs/best-practices#image_sizing) | |
| 44 | [snippet=default] | |
| 56 | [snippet=direct] | |
| 57 | Images can be directly instantiated. | |
| 67 | [snippet=string] | |
| 68 | Image data can be given as a string | |
| 79 | [snippet=gcs] | |
| 80 | Files stored in Google Cloud Storage can be used. | |
| 92 | [snippet=max] | |
| 93 | This example sets a maximum results limit on one feature and provides some image context. | |
| 121 | [snippet=shortcut] | |
| 122 | The client library also offers shortcut names which can be used in place of the longer feature names. | |
| 128 | Corresponds to `FACE_DETECTION` | |
| 129 | Corresponds to `LANDMARK_DETECTION` | |
| 130 | Corresponds to `LOGO_DETECTION` | |
| 131 | Corresponds to `LABEL_DETECTION` | |
| 132 | Corresponds to `TEXT_DETECTION`, | |
| 133 | Corresponds to `DOCUMENT_TEXT_DETECTION` | |
| 134 | Corresponds to `SAFE_SEARCH_DETECTION` | |
| 135 | Corresponds to `IMAGE_PROPERTIES` | |
| 136 | Corresponds to `CROP_HINTS` | |
| 137 | Corresponds to `WEB_DETECTION` | |
| 141 | cloud.google.com/vision/docs/best-practices Best Practices | |
| 142 | cloud.google.com/vision/docs/pricing Pricing | |
| 207 | cloud.google.com/vision/reference/rest/v1/images/annotate#type) | |
| 225 | cloud.google.com/vision/reference/rest/v1/images/annotate#imagecontext) | |
| 276 | cloud.google.com/vision/reference/rest/v1/images/annotate#annotateimagerequest AnnotateImageRequest | |
| 297 | cloud.google.com/vision/reference/rest/v1/images/annotate#image Image | |
| 300 | cloud.google.com/vision/reference/rest/v1/images/annotate#image) | |
| 332 | cloud.google.com/vision/reference/rest/v1/images/annotate#feature) |
State.php
| Type | Line | Description |
|---|---|---|
| 49 | Adding a class alias for backwards compatibility with the previous class name. |
BlockType.php
| Type | Line | Description |
|---|---|---|
| 52 | Adding a class alias for backwards compatibility with the previous class name. |
EntityAnnotation.php
| Type | Line | Description |
|---|---|---|
| 21 | developers.google.com/knowledge-graph/). | |
| 99 | developers.google.com/knowledge-graph/). | |
| 141 | developers.google.com/knowledge-graph/). | |
| 154 | developers.google.com/knowledge-graph/). |
Type.php
| Type | Line | Description |
|---|---|---|
| 229 | Adding a class alias for backwards compatibility with the previous class name. |
Landmark.php
| Type | Line | Description |
|---|---|---|
| 102 | Adding a class alias for backwards compatibility with the previous class name. |
Type.php
| Type | Line | Description |
|---|---|---|
| 99 | Adding a class alias for backwards compatibility with the previous class name. |
ImageAnnotatorGapicClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/cloud/vision/v1/image_annotator.proto | |
| 95 | www.googleapis.com/auth/cloud-platform', | |
| 96 | www.googleapis.com/auth/cloud-vision', | |
| 274 | doSomethingWith($result) | |
| 277 | handleError($error) | |
| 281 | Alternatively: | |
| 283 | start the operation, keep the operation name, and resume later | |
| 286 | ... do other work | |
| 289 | ... do other work | |
| 294 | doSomethingWith($result) | |
| 297 | handleError($error) |
ProductSearchGapicClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/cloud/vision/v1/product_search_service.proto | |
| 136 | www.googleapis.com/auth/cloud-platform', | |
| 137 | www.googleapis.com/auth/cloud-vision', | |
| 334 | Swallow the exception to continue trying other path templates | |
| 510 | Iterate over pages of elements | |
| 514 | doSomethingWith($element); | |
| 519 | Alternatively: | |
| 521 | Iterate through all elements | |
| 524 | doSomethingWith($element); | |
| 761 | Iterate over pages of elements | |
| 765 | doSomethingWith($element); | |
| 770 | Alternatively: | |
| 772 | Iterate through all elements | |
| 775 | doSomethingWith($element); | |
| 1085 | Iterate over pages of elements | |
| 1089 | doSomethingWith($element); | |
| 1094 | Alternatively: | |
| 1096 | Iterate through all elements | |
| 1099 | doSomethingWith($element); | |
| 1436 | Iterate over pages of elements | |
| 1440 | doSomethingWith($element); | |
| 1445 | Alternatively: | |
| 1447 | Iterate through all elements | |
| 1450 | doSomethingWith($element); | |
| 1527 | doSomethingWith($result) | |
| 1530 | handleError($error) | |
| 1534 | Alternatively: | |
| 1536 | start the operation, keep the operation name, and resume later | |
| 1539 | ... do other work | |
| 1542 | ... do other work | |
| 1547 | doSomethingWith($result) | |
| 1550 | handleError($error) |
GcsDestination.php
| Type | Line | Description |
|---|---|---|
| 24 | bucket-name/filename.json | |
| 25 | bucket-name/prefix/here/ | |
| 26 | bucket-name/prefix/here | |
| 48 | bucket-name/filename.json | |
| 49 | bucket-name/prefix/here/ | |
| 50 | bucket-name/prefix/here | |
| 68 | bucket-name/filename.json | |
| 69 | bucket-name/prefix/here/ | |
| 70 | bucket-name/prefix/here | |
| 90 | bucket-name/filename.json | |
| 91 | bucket-name/prefix/here/ | |
| 92 | bucket-name/prefix/here |
ImageAnnotatorClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/cloud/vision/v1/image_annotator.proto | |
| 53 | [snippet=resource] | |
| 60 | [snippet=data] | |
| 67 | [snippet=url] | |
| 68 | my-bucket/image.jpg"; |
ImageAnnotatorGrpcClient.php
| Type | Line | Description |
|---|---|---|
| 2 | GENERATED CODE -- DO NOT EDIT! | |
| 4 | Original file comments: | |
| 5 | Copyright 2018 Google LLC. | |
| 7 | // Licensed under the Apache License, Version 2.0 (the "License"); | |
| 8 | you may not use this file except in compliance with the License. | |
| 9 | You may obtain a copy of the License at | |
| 11 | // http://www.apache.org/licenses/LICENSE-2.0 | |
| 13 | // Unless required by applicable law or agreed to in writing, software | |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, | |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 16 | See the License for the specific language governing permissions and | |
| 17 | limitations under the License. | |
| 19 | // |
ImageSource.php
| Type | Line | Description |
|---|---|---|
| 21 | bucket_name/object_name`. Object versioning is not supported. See | |
| 23 | cloud.google.com/storage/docs/reference-uris) for more info. | |
| 31 | bucket_name/object_name`. Object versioning is not supported. See | |
| 33 | cloud.google.com/storage/docs/reference-uris) for more | |
| 57 | bucket_name/object_name`. Object versioning is not supported. See | |
| 59 | cloud.google.com/storage/docs/reference-uris) for more info. | |
| 63 | bucket_name/object_name`. Object versioning is not supported. See | |
| 65 | cloud.google.com/storage/docs/reference-uris) for more | |
| 85 | bucket_name/object_name`. Object versioning is not supported. See | |
| 87 | cloud.google.com/storage/docs/reference-uris) for more info. | |
| 100 | bucket_name/object_name`. Object versioning is not supported. See | |
| 102 | cloud.google.com/storage/docs/reference-uris) for more info. | |
| 119 | bucket_name/object_name`. Object versioning is not supported. See | |
| 121 | cloud.google.com/storage/docs/reference-uris) for more | |
| 143 | bucket_name/object_name`. Object versioning is not supported. See | |
| 145 | cloud.google.com/storage/docs/reference-uris) for more |
ImportProductSetsGcsSource.php
| Type | Line | Description |
|---|---|---|
| 21 | `. | |
| 80 | `. | |
| 135 | `. | |
| 192 | `. |
LocalizedObjectAnnotation.php
| Type | Line | Description |
|---|---|---|
| 27 | www.unicode.org/reports/tr35/#Unicode_locale_identifier. | |
| 62 | www.unicode.org/reports/tr35/#Unicode_locale_identifier. | |
| 105 | www.unicode.org/reports/tr35/#Unicode_locale_identifier. | |
| 118 | www.unicode.org/reports/tr35/#Unicode_locale_identifier. |
State.php
| Type | Line | Description |
|---|---|---|
| 46 | Adding a class alias for backwards compatibility with the previous class name. |
KeyValue.php
| Type | Line | Description |
|---|---|---|
| 110 | Adding a class alias for backwards compatibility with the previous class name. |
ProductSearchClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 21 | github.com/google/googleapis/blob/master/google/cloud/vision/v1/product_search_service.proto | |
| 36 | This class is intentionally empty, and is intended to hold manual | |
| 37 | additions to the generated {@see ProductSearchGapicClient} class. |
ProductSearchGrpcClient.php
| Type | Line | Description |
|---|---|---|
| 2 | GENERATED CODE -- DO NOT EDIT! | |
| 4 | Original file comments: | |
| 5 | Copyright 2018 Google LLC. | |
| 7 | // Licensed under the Apache License, Version 2.0 (the "License"); | |
| 8 | you may not use this file except in compliance with the License. | |
| 9 | You may obtain a copy of the License at | |
| 11 | // http://www.apache.org/licenses/LICENSE-2.0 | |
| 13 | // Unless required by applicable law or agreed to in writing, software | |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, | |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 16 | See the License for the specific language governing permissions and | |
| 17 | limitations under the License. | |
| 19 | // |
GroupedResult.php
| Type | Line | Description |
|---|---|---|
| 103 | Adding a class alias for backwards compatibility with the previous class name. |
Result.php
| Type | Line | Description |
|---|---|---|
| 144 | Adding a class alias for backwards compatibility with the previous class name. |
ReferenceImage.php
| Type | Line | Description |
|---|---|---|
| 30 | `. | |
| 62 | `. | |
| 113 | `. | |
| 126 | `. |
BreakType.php
| Type | Line | Description |
|---|---|---|
| 53 | Adding a class alias for backwards compatibility with the previous class name. |
DetectedBreak.php
| Type | Line | Description |
|---|---|---|
| 102 | Adding a class alias for backwards compatibility with the previous class name. |
DetectedLanguage.php
| Type | Line | Description |
|---|---|---|
| 21 | www.unicode.org/reports/tr35/#Unicode_locale_identifier. | |
| 42 | www.unicode.org/reports/tr35/#Unicode_locale_identifier. | |
| 55 | www.unicode.org/reports/tr35/#Unicode_locale_identifier. | |
| 68 | www.unicode.org/reports/tr35/#Unicode_locale_identifier. | |
| 110 | Adding a class alias for backwards compatibility with the previous class name. |
TextProperty.php
| Type | Line | Description |
|---|---|---|
| 102 | Adding a class alias for backwards compatibility with the previous class name. |
WebEntity.php
| Type | Line | Description |
|---|---|---|
| 140 | Adding a class alias for backwards compatibility with the previous class name. |
WebImage.php
| Type | Line | Description |
|---|---|---|
| 102 | Adding a class alias for backwards compatibility with the previous class name. |
WebLabel.php
| Type | Line | Description |
|---|---|---|
| 27 | www.unicode.org/reports/tr35/#Unicode_locale_identifier. | |
| 44 | www.unicode.org/reports/tr35/#Unicode_locale_identifier. | |
| 81 | www.unicode.org/reports/tr35/#Unicode_locale_identifier. | |
| 94 | www.unicode.org/reports/tr35/#Unicode_locale_identifier. | |
| 110 | Adding a class alias for backwards compatibility with the previous class name. |
WebPage.php
| Type | Line | Description |
|---|---|---|
| 220 | Adding a class alias for backwards compatibility with the previous class name. |
VisionClient.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 32 | cloud.google.com/vision/docs/). | |
| 48 | www.googleapis.com/auth/cloud-platform'; | |
| 123 | Setting maxResults for a feature | |
| 141 | cloud.google.com/vision/reference/rest/v1/images/annotate#type) | |
| 171 | In the example below, both images will have the same settings applied. | |
| 172 | They will both run face detection and return up to 10 results. | |
| 221 | cloud.google.com/vision/docs/reference/rest/v1/images/annotate Annotate API documentation | |
| 254 | cloud.google.com/vision/docs/reference/rest/v1/images/annotate Annotate API documentation |
VisionHelpersTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
SamiConfigBuilder.php
| Type | Line | Description |
|---|---|---|
| 45 | Verify that we are running PHP 7 or above |
Authentication.php
| Type | Line | Description |
|---|---|---|
| 18 | www.googleapis.com/oauth2/v1/certs | |
| 19 | securetoken.google.com |
AuthProvider.php
| Type | Line | Description |
|---|---|---|
| 13 | tools.ietf.org/html/draft-ietf-oauth-json-web-token-32). | |
| 29 | tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1 | |
| 31 | securetoken.google.com | |
| 39 | openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata). | |
| 42 | openid.net/specs/openid-connect-discovery-1_0.html | |
| 45 | www.googleapis.com/oauth2/v1/certs | |
| 52 | tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). | |
| 55 | [Service_name][google.api.Service.name]/[API_name][google.protobuf.Api.name]" | |
| 58 | library-example.googleapis.com/google.example.library.v1.LibraryService". | |
| 86 | tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1 | |
| 88 | securetoken.google.com | |
| 92 | openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata). | |
| 95 | openid.net/specs/openid-connect-discovery-1_0.html | |
| 98 | www.googleapis.com/oauth2/v1/certs | |
| 101 | tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). | |
| 104 | [Service_name][google.api.Service.name]/[API_name][google.protobuf.Api.name]" | |
| 107 | library-example.googleapis.com/google.example.library.v1.LibraryService". | |
| 153 | tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1 | |
| 155 | securetoken.google.com | |
| 168 | tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1 | |
| 170 | securetoken.google.com | |
| 187 | openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata). | |
| 190 | openid.net/specs/openid-connect-discovery-1_0.html | |
| 193 | www.googleapis.com/oauth2/v1/certs | |
| 205 | openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata). | |
| 208 | openid.net/specs/openid-connect-discovery-1_0.html | |
| 211 | www.googleapis.com/oauth2/v1/certs | |
| 227 | tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). | |
| 230 | [Service_name][google.api.Service.name]/[API_name][google.protobuf.Api.name]" | |
| 233 | library-example.googleapis.com/google.example.library.v1.LibraryService". | |
| 248 | tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). | |
| 251 | [Service_name][google.api.Service.name]/[API_name][google.protobuf.Api.name]" | |
| 254 | library-example.googleapis.com/google.example.library.v1.LibraryService". |
AuthRequirement.php
| Type | Line | Description |
|---|---|---|
| 13 | tools.ietf.org/html/draft-ietf-oauth-json-web-token-32). | |
| 31 | tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). | |
| 34 | [Service_name][google.api.Service.name]/[API_name][google.protobuf.Api.name]" | |
| 37 | library-example.googleapis.com/google.example.library.v1.LibraryService". | |
| 60 | tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). | |
| 63 | [Service_name][google.api.Service.name]/[API_name][google.protobuf.Api.name]" | |
| 66 | library-example.googleapis.com/google.example.library.v1.LibraryService". | |
| 111 | tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). | |
| 114 | [Service_name][google.api.Service.name]/[API_name][google.protobuf.Api.name]" | |
| 117 | library-example.googleapis.com/google.example.library.v1.LibraryService". | |
| 134 | tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). | |
| 137 | [Service_name][google.api.Service.name]/[API_name][google.protobuf.Api.name]" | |
| 140 | library-example.googleapis.com/google.example.library.v1.LibraryService". |
BillingDestination.php
| Type | Line | Description |
|---|---|---|
| 111 | Adding a class alias for backwards compatibility with the previous class name. |
Explicit.php
| Type | Line | Description |
|---|---|---|
| 75 | Adding a class alias for backwards compatibility with the previous class name. |
Exponential.php
| Type | Line | Description |
|---|---|---|
| 142 | Adding a class alias for backwards compatibility with the previous class name. |
Linear.php
| Type | Line | Description |
|---|---|---|
| 142 | Adding a class alias for backwards compatibility with the previous class name. |
BucketOptions.php
| Type | Line | Description |
|---|---|---|
| 145 | Adding a class alias for backwards compatibility with the previous class name. |
Range.php
| Type | Line | Description |
|---|---|---|
| 102 | Adding a class alias for backwards compatibility with the previous class name. |
Endpoint.php
| Type | Line | Description |
|---|---|---|
| 54 | cloud.google.com/apis/design/glossary). | |
| 63 | en.wikipedia.org/wiki/Cross-origin_resource_sharing), aka | |
| 90 | cloud.google.com/apis/design/glossary). | |
| 95 | en.wikipedia.org/wiki/Cross-origin_resource_sharing), aka | |
| 193 | cloud.google.com/apis/design/glossary). | |
| 207 | cloud.google.com/apis/design/glossary). | |
| 225 | en.wikipedia.org/wiki/Cross-origin_resource_sharing), aka | |
| 241 | en.wikipedia.org/wiki/Cross-origin_resource_sharing), aka |
HttpBody.php
| Type | Line | Description |
|---|---|---|
| 22 | A unique request id. | |
| 24 | The raw HTTP body is bound to this field. |
HttpRule.php
| Type | Line | Description |
|---|---|---|
| 31 | mapped to the URL | |
| 32 | `sub.subfield` is url-mapped | |
| 35 | content of the resource | |
| 63 | mapped to the URL | |
| 64 | becomes a parameter | |
| 65 | `sub.subfield` becomes a parameter | |
| 87 | mapped to the URL | |
| 88 | mapped to the body | |
| 179 | tools.ietf.org/html/rfc6570) Section 3.2.2 |
ValueType.php
| Type | Line | Description |
|---|---|---|
| 34 | Adding a class alias for backwards compatibility with the previous class name. |
LoggingDestination.php
| Type | Line | Description |
|---|---|---|
| 119 | Adding a class alias for backwards compatibility with the previous class name. |
MetricKind.php
| Type | Line | Description |
|---|---|---|
| 44 | Adding a class alias for backwards compatibility with the previous class name. |
ValueType.php
| Type | Line | Description |
|---|---|---|
| 60 | Adding a class alias for backwards compatibility with the previous class name. |
MetricDescriptor.php
| Type | Line | Description |
|---|---|---|
| 66 | unitsofmeasure.org/ucum.html) standard: | |
| 167 | unitsofmeasure.org/ucum.html) standard: | |
| 388 | unitsofmeasure.org/ucum.html) standard: | |
| 450 | unitsofmeasure.org/ucum.html) standard: |
MonitoringDestination.php
| Type | Line | Description |
|---|---|---|
| 111 | Adding a class alias for backwards compatibility with the previous class name. |
OAuthRequirements.php
| Type | Line | Description |
|---|---|---|
| 35 | www.googleapis.com/auth/calendar, | |
| 36 | www.googleapis.com/auth/calendar.read | |
| 52 | www.googleapis.com/auth/calendar, | |
| 53 | www.googleapis.com/auth/calendar.read | |
| 65 | www.googleapis.com/auth/calendar, | |
| 66 | www.googleapis.com/auth/calendar.read | |
| 80 | www.googleapis.com/auth/calendar, | |
| 81 | www.googleapis.com/auth/calendar.read |
PropertyType.php
| Type | Line | Description |
|---|---|---|
| 46 | Adding a class alias for backwards compatibility with the previous class name. |
QuotaLimit.php
| Type | Line | Description |
|---|---|---|
| 107 | cloud.google.com/service-control) | |
| 240 | cloud.google.com/service-control) | |
| 570 | cloud.google.com/service-control) | |
| 607 | cloud.google.com/service-control) |
Service.php
| Type | Line | Description |
|---|---|---|
| 27 | www.googleapis.com/oauth2/v1/certs | |
| 28 | securetoken.google.com |
Usage.php
| Type | Line | Description |
|---|---|---|
| 37 | cloud.google.com/pubsub) as a notification | |
| 40 | cloud.google.com/pubsub/docs/overview. | |
| 63 | cloud.google.com/pubsub) as a notification | |
| 66 | cloud.google.com/pubsub/docs/overview. | |
| 136 | cloud.google.com/pubsub) as a notification | |
| 139 | cloud.google.com/pubsub/docs/overview. | |
| 153 | cloud.google.com/pubsub) as a notification | |
| 156 | cloud.google.com/pubsub/docs/overview. |
AgentHeader.php
| Type | Line | Description |
|---|---|---|
| 60 | The ordering of the headers is important. We use the fact that $metricsHeaders is an | |
| 61 | ordered dict. The desired ordering is: | |
| 62 | - phpVersion (gl-php/) | |
| 63 | - clientName (e.g. gccl/) | |
| 64 | - gapicVersion (gapic/) | |
| 65 | - apiCoreVersion (gax/) | |
| 66 | - grpcVersion (grpc/) |
CredentialsWrapper.php
| Type | Line | Description |
|---|---|---|
| 154 | NOTE: changes to this function should be treated carefully and tested thoroughly. It will | |
| 155 | be passed into the gRPC c extension, and changes have the potential to trigger very | |
| 156 | difficult-to-diagnose segmentation faults. |
FixedSizeCollection.php
| Type | Line | Description |
|---|---|---|
| 159 | Get last element in array... |
GapicClientTrait.php
| Type | Line | Description |
|---|---|---|
| 147 | Build $defaultOptions starting from top level | |
| 148 | variables, then going into deeper nesting, so that | |
| 149 | we will not encounter missing keys | |
| 167 | Merge defaults into $options starting from top level | |
| 168 | variables, then going into deeper nesting, so that | |
| 169 | we will not encounter missing keys | |
| 506 | Allow for retry settings to be changed at call time | |
| 608 | Gapic Client Extension Points | |
| 609 | The methods below provide extension points that can be used to customize client | |
| 610 | functionality. These extension points are currently considered | |
| 611 | private and may change at any time. | |
| 621 | Do nothing - this method exists to allow option modification by partial veneers. | |
| 632 | Do nothing - this method exists to allow callable modification by partial veneers. | |
| 643 | Do nothing - this method exists to allow callable modification by partial veneers. |
GPBLabel.php
| Type | Line | Description |
|---|---|---|
| 36 | github.com/google/protobuf/blob/master/src/google/protobuf/descriptor.proto |
GPBType.php
| Type | Line | Description |
|---|---|---|
| 36 | github.com/google/protobuf/blob/master/src/google/protobuf/descriptor.proto |
GrpcSupportTrait.php
| Type | Line | Description |
|---|---|---|
| 57 | cloud.google.com/php/grpc.' |
OperationsGapicClient.php
| Type | Line | Description |
|---|---|---|
| 35 | github.com/google/googleapis/blob/master/google/longrunning/operations.proto | |
| 254 | Iterate through all elements | |
| 257 | doSomethingWith($element); | |
| 260 | OR iterate over pages of elements | |
| 264 | doSomethingWith($element); |
OperationsClient.php
| Type | Line | Description |
|---|---|---|
| 35 | github.com/google/googleapis/blob/master/google/longrunning/operations.proto | |
| 54 | This class is intentionally empty, and is intended to hold manual | |
| 55 | additions to the generated {@see OperationsGapicClient} class. |
RetryMiddleware.php
| Type | Line | Description |
|---|---|---|
| 77 | default to "noRetriesRpcTimeoutMillis" when retries are disabled, otherwise use "initialRpcTimeoutMillis" | |
| 85 | Call the handler immediately if retry settings are disabled. | |
| 131 | Don't sleep if the failure was a timeout | |
| 150 | Set the timeout for the call |
RequestBuilder.php
| Type | Line | Description |
|---|---|---|
| 96 | We found a valid uriTemplate - now build and return the Request | |
| 110 | No valid uriTemplate found - construct an exception | |
| 230 | %s%s', |
AbsoluteResourceTemplate.php
| Type | Line | Description |
|---|---|---|
| 47 | github.com/googleapis/api-common-protos/blob/master/google/api/http.proto |
Parser.php
| Type | Line | Description |
|---|---|---|
| 76 | Validate that the { has a matching } | |
| 127 | Validate there are no nested braces | |
| 137 | If the variable does not contain '=', we assume the pattern is '*' as per google.rpc.Http |
RelativeResourceTemplate.php
| Type | Line | Description |
|---|---|---|
| 47 | github.com/googleapis/api-common-protos/blob/master/google/api/http.proto | |
| 77 | Check for duplicate keys | |
| 141 | High level strategy for matching: | |
| 142 | - Break $path into pieces based on '/' | |
| 143 | - Build a list of Segments from our template, where any variable segments are | |
| 144 | flattened into a single, non-nested list | |
| 145 | - Match pieces of the path with Segments in the flattened list | |
| 150 | In order to build correct bindings after we match the $path against our template, we | |
| 151 | need to (a) calculate the correct positional keys for our wildcards, and (b) maintain | |
| 152 | information about the variable identifier of any flattened segments. To do this, we | |
| 153 | build a list of [string, Segment] tuples, where the string component is the appropriate | |
| 154 | key. | |
| 160 | We would like to match pieces of our path 1:1 with the segments of our template. However, | |
| 161 | this is confounded by the presence of double wildcards ('**') in the template, which can | |
| 162 | match multiple segments in the path. | |
| 163 | Because there can only be one '**' present, we can determine how many segments it must | |
| 164 | match by examining the difference in count between the template segments and the | |
| 165 | path pieces. | |
| 168 | Each segment in $flattenedKeyedSegments must consume at least one | |
| 169 | segment in $pathSegments, so matching must fail. | |
| 179 | So long as there are tuples remaining, there will also be $pathPieces | |
| 182 | In our flattened list of segments, we should never encounter a variable segment | |
| 196 | If we have a valid key, add our $pathPiece to the $bindings array. Note that there | |
| 197 | may be multiple copies of the same $segmentKey. This is because a flattened variable | |
| 198 | segment can match multiple pieces from the path. We can add these to an array and | |
| 199 | collapse them all once the bindings are complete. | |
| 206 | It is possible that we have left over path pieces, which can occur if our template does | |
| 207 | not have a double wildcard. In that case, the match should fail. | |
| 212 | Collapse the bindings from lists into strings | |
| 259 | For segment variables, replace the segment with the segments of its children | |
| 264 | Nested variables are not allowed | |
| 266 | Insert the nested segment with key set to the outer key of the | |
| 267 | parent variable segment | |
| 272 | For all other segments, don't change the key or segment |
ResourceTemplateInterface.php
| Type | Line | Description |
|---|---|---|
| 49 | github.com/googleapis/api-common-protos/blob/master/google/api/http.proto |
RetrySettings.php
| Type | Line | Description |
|---|---|---|
| 76 | github.com/GoogleCloudPlatform/google-cloud-php). | |
| 78 | googlecloudplatform.github.io/google-cloud-php/#/docs/google-cloud/monitoring/v3/groupserviceclient) | |
| 79 | github.com/GoogleCloudPlatform/google-cloud-php/tree/master/src/Monitoring/V3), | |
| 81 | github.com/GoogleCloudPlatform/google-cloud-php) repository. | |
| 89 | googlecloudplatform.github.io/google-cloud-php/#/docs/google-cloud/monitoring/v3/groupserviceclient?method=listGroups) | |
| 102 | googlecloudplatform.github.io/google-cloud-php/#/docs/google-cloud/monitoring/v3/groupserviceclient?method=listGroups) | |
| 127 | googlecloudplatform.github.io/google-cloud-php/#/docs/google-cloud/monitoring/v3/groupserviceclient) | |
| 128 | github.com/GoogleCloudPlatform/google-cloud-php/tree/master/src/Monitoring/V3), | |
| 130 | github.com/GoogleCloudPlatform/google-cloud-php) repository. | |
| 271 | Construct a RetrySettings object with retries disabled |
Serializer.php
| Type | Line | Description |
|---|---|---|
| 96 | Get message descriptor | |
| 111 | Get message descriptor | |
| 159 | The metadata contains an unexpected binary type | |
| 191 | failed to unpack the $any object - show as unknown binary data | |
| 265 | Check and skip unset fields inside oneofs | |
| 330 | Get the field by tag number or name | |
| 333 | Unknown field found | |
| 371 | We must unset $value here, otherwise the protobuf c extension will mix up the references | |
| 372 | and setting one value will change all others | |
| 439 | It is necessary to call this when this file is included. Otherwise we cannot be | |
| 440 | guaranteed that the relevant classes will be loaded into the protobuf descriptor | |
| 441 | pool when we try to unpack an Any object containing that class. | |
| 442 | phpcs:disable PSR1.Files.SideEffects | |
| 444 | phpcs:enable |
ServiceAddressTrait.php
| Type | Line | Description |
|---|---|---|
| 51 | Port is included in service address | |
| 54 | Port is not included - append default port |
MessageAwareArrayComparator.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
MessageAwareExporter.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
MockBidiStreamingCall.php
| Type | Line | Description |
|---|---|---|
| 41 | github.com/grpc/grpc/blob/master/src/php/lib/Grpc/BidiStreamingCall.php) | |
| 77 | Null was added to the responses list to simulate a failed stream | |
| 78 | To ensure that getStatus can now be called, we clear the remaining | |
| 79 | responses and set writesDone to true |
MockClientStreamingCall.php
| Type | Line | Description |
|---|---|---|
| 40 | github.com/grpc/grpc/blob/master/src/php/lib/Grpc/ClientStreamingCall.php) |
MockServerStreamingCall.php
| Type | Line | Description |
|---|---|---|
| 41 | github.com/grpc/grpc/blob/master/src/php/lib/Grpc/ServerStreamingCall.php) |
MockStubTrait.php
| Type | Line | Description |
|---|---|---|
| 40 | github.com/grpc/grpc/blob/master/src/php/lib/Grpc/BaseStub.php) | |
| 59 | github.com/grpc/grpc/blob/master/src/php/lib/Grpc/BaseStub.php) | |
| 87 | github.com/grpc/grpc/blob/master/src/php/lib/Grpc/BaseStub.php) | |
| 116 | github.com/grpc/grpc/blob/master/src/php/lib/Grpc/BaseStub.php) | |
| 152 | github.com/grpc/grpc/blob/master/src/php/lib/Grpc/BaseStub.php) |
MockTransport.php
| Type | Line | Description |
|---|---|---|
| 109 | does nothing |
MockUnaryCall.php
| Type | Line | Description |
|---|---|---|
| 39 | github.com/grpc/grpc/blob/master/src/php/lib/Grpc/UnaryCall.php) |
ProtobufGPBEmptyComparator.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 | |
| 54 | No need to do anything here. |
ProtobufMessageComparator.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
SerializationTrait.php
| Type | Line | Description |
|---|---|---|
| 46 | Proto3 implementation | |
| 59 | Protobuf-PHP implementation |
GrpcFallbackTransport.php
| Type | Line | Description |
|---|---|---|
| 129 | Build common headers and set the content type to 'application/x-protobuf' | |
| 132 | It is necessary to supply 'grpc-web' in the 'x-goog-api-client' header | |
| 133 | when using the grpc-fallback protocol. | |
| 137 | Uri format: https://<service>/$rpc/<method> | |
| 138 | {$this->baseUri}/\$rpc/{$call->getMethod()}"; | |
| 193 | We were unable to parse the response body into a $status object. Instead, | |
| 194 | create an ApiException using the unparsed $body as message. |
GrpcTransport.php
| Type | Line | Description |
|---|---|---|
| 61 | Interceptors, ordered so that the first in the list is the inner-most interceptor. | |
| 108 | Set the required 'credentials' key in stubOpts if it is not already set. Use | |
| 109 | array_key_exists because null is a valid value. |
HttpUnaryTransportTrait.php
| Type | Line | Description |
|---|---|---|
| 80 | Nothing to do. | |
| 93 | If not already set, add an auth header to the request |
RestTransport.php
| Type | Line | Description |
|---|---|---|
| 102 | call the HTTP handler | |
| 163 | Use the RPC code instead of the HTTP Status Code. |
UriTrait.php
| Type | Line | Description |
|---|---|---|
| 54 | Casts bools to their string representation |
RequestMetadata.php
| Type | Line | Description |
|---|---|---|
| 32 | code.google.com/appengine; appid: s~my-project`: | |
| 55 | code.google.com/appengine; appid: s~my-project`: | |
| 98 | code.google.com/appengine; appid: s~my-project`: | |
| 117 | code.google.com/appengine; appid: s~my-project`: |
Kind.php
| Type | Line | Description |
|---|---|---|
| 42 | Adding a class alias for backwards compatibility with the previous class name. |
Action.php
| Type | Line | Description |
|---|---|---|
| 34 | Adding a class alias for backwards compatibility with the previous class name. |
IAMPolicyGrpcClient.php
| Type | Line | Description |
|---|---|---|
| 2 | GENERATED CODE -- DO NOT EDIT! | |
| 4 | Original file comments: | |
| 5 | Copyright 2016 Google Inc. | |
| 7 | // Licensed under the Apache License, Version 2.0 (the "License"); | |
| 8 | you may not use this file except in compliance with the License. | |
| 9 | You may obtain a copy of the License at | |
| 11 | // http://www.apache.org/licenses/LICENSE-2.0 | |
| 13 | // Unless required by applicable law or agreed to in writing, software | |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, | |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 16 | See the License for the specific language governing permissions and | |
| 17 | limitations under the License. | |
| 19 | namespace Google\Cloud\Iam\V1; |
Policy.php
| Type | Line | Description |
|---|---|---|
| 37 | cloud.google.com/iam). |
TestIamPermissionsRequest.php
| Type | Line | Description |
|---|---|---|
| 30 | cloud.google.com/iam/docs/overview#permissions). | |
| 50 | cloud.google.com/iam/docs/overview#permissions). | |
| 92 | cloud.google.com/iam/docs/overview#permissions). | |
| 106 | cloud.google.com/iam/docs/overview#permissions). |
HttpRequest.php
| Type | Line | Description |
|---|---|---|
| 29 | example.com/some/info?color=red"`. | |
| 78 | www.w3.org/Protocols/rfc2616/rfc2616-sec14.html). | |
| 136 | example.com/some/info?color=red"`. | |
| 157 | www.w3.org/Protocols/rfc2616/rfc2616-sec14.html). | |
| 211 | example.com/some/info?color=red"`. | |
| 224 | example.com/some/info?color=red"`. | |
| 408 | www.w3.org/Protocols/rfc2616/rfc2616-sec14.html). | |
| 420 | www.w3.org/Protocols/rfc2616/rfc2616-sec14.html). |
OperationsGrpcClient.php
| Type | Line | Description |
|---|---|---|
| 2 | GENERATED CODE -- DO NOT EDIT! | |
| 4 | Original file comments: | |
| 5 | Copyright 2016 Google Inc. | |
| 7 | // Licensed under the Apache License, Version 2.0 (the "License"); | |
| 8 | you may not use this file except in compliance with the License. | |
| 9 | You may obtain a copy of the License at | |
| 11 | // http://www.apache.org/licenses/LICENSE-2.0 | |
| 13 | // Unless required by applicable law or agreed to in writing, software | |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, | |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 16 | See the License for the specific language governing permissions and | |
| 17 | limitations under the License. | |
| 19 | namespace Google\LongRunning; |
FieldViolation.php
| Type | Line | Description |
|---|---|---|
| 110 | Adding a class alias for backwards compatibility with the previous class name. |
Link.php
| Type | Line | Description |
|---|---|---|
| 102 | Adding a class alias for backwards compatibility with the previous class name. |
LocalizedMessage.php
| Type | Line | Description |
|---|---|---|
| 21 | www.rfc-editor.org/rfc/bcp/bcp47.txt. | |
| 42 | www.rfc-editor.org/rfc/bcp/bcp47.txt. | |
| 55 | www.rfc-editor.org/rfc/bcp/bcp47.txt. | |
| 68 | www.rfc-editor.org/rfc/bcp/bcp47.txt. |
Violation.php
| Type | Line | Description |
|---|---|---|
| 160 | Adding a class alias for backwards compatibility with the previous class name. |
Violation.php
| Type | Line | Description |
|---|---|---|
| 131 | Adding a class alias for backwards compatibility with the previous class name. |
Status.php
| Type | Line | Description |
|---|---|---|
| 14 | github.com/grpc). The error model is designed to be: |
Color.php
| Type | Line | Description |
|---|---|---|
| 21 | ... | |
| 53 | ... | |
| 55 | ... | |
| 82 | ... | |
| 84 | ... | |
| 110 | ... |
LatLng.php
| Type | Line | Description |
|---|---|---|
| 15 | www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84 |
PostalAddress.php
| Type | Line | Description |
|---|---|---|
| 21 | github.com/googlei18n/libaddressinput) | |
| 25 | support.google.com/business/answer/6397478 | |
| 41 | cldr.unicode.org/ and | |
| 42 | www.unicode.org/cldr/charts/30/supplemental/territory_information.html | |
| 161 | cldr.unicode.org/ and | |
| 162 | www.unicode.org/cldr/charts/30/supplemental/territory_information.html | |
| 266 | cldr.unicode.org/ and | |
| 267 | www.unicode.org/cldr/charts/30/supplemental/territory_information.html | |
| 281 | cldr.unicode.org/ and | |
| 282 | www.unicode.org/cldr/charts/30/supplemental/territory_information.html |
GapicClientTraitTest.php
| Type | Line | Description |
|---|---|---|
| 68 | Reset the static gapicVersion field between tests |
GeneratedTestTest.php
| Type | Line | Description |
|---|---|---|
| 56 | As expected the assertion failed, silently return | |
| 59 | The assertion did not fail, make the test fail |
GrpcSupportTraitTest.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
OperationsClientTest.php
| Type | Line | Description |
|---|---|---|
| 85 | Mock response | |
| 93 | Mock request | |
| 133 | Mock request | |
| 138 | If the $client method call did not throw, fail the test | |
| 145 | Call popReceivedCalls to ensure the stub is exhausted | |
| 160 | Mock response | |
| 169 | Mock request | |
| 216 | Mock request | |
| 222 | If the $client method call did not throw, fail the test | |
| 229 | Call popReceivedCalls to ensure the stub is exhausted | |
| 244 | Mock response | |
| 248 | Mock request | |
| 287 | Mock request | |
| 292 | If the $client method call did not throw, fail the test | |
| 299 | Call popReceivedCalls to ensure the stub is exhausted | |
| 314 | Mock response | |
| 318 | Mock request | |
| 357 | Mock request | |
| 362 | If the $client method call did not throw, fail the test | |
| 369 | Call popReceivedCalls to ensure the stub is exhausted |
RetryMiddlewareTest.php
| Type | Line | Description |
|---|---|---|
| 142 | sleep for the duration of the timeout |
OperationResponseTest.php
| Type | Line | Description |
|---|---|---|
| 184 | Defaults | |
| 185 | Args to pollUntilComplete | |
| 186 | Args to constructor | |
| 189 | Polling timeout |
PageStreamingDescriptorTest.php
| Type | Line | Description |
|---|---|---|
| 49 | Missing field | |
| 50 | 'responsePageTokenField' => 'getNextPageToken', |
ProtobufBandaidTest.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
ProtobufExtensionTest.php
| Type | Line | Description |
|---|---|---|
| 47 | This test should always pass - we have it here so that we can determine whether the | |
| 48 | protobuf extension is installed, based on whether this test passes or is skipped |
RequestBuilderTest.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
AbsoluteResourceTemplateTest.php
| Type | Line | Description |
|---|---|---|
| 84 | Null path | |
| 85 | Empty path | |
| 86 | No leading '/' | |
| 87 | Action containing '/' | |
| 88 | Multiple ':' | |
| 89 | Mixed literal and '*' | |
| 90 | Multiple '**' | |
| 91 | Multiple '**' nested | |
| 92 | Multiple '**' nested | |
| 93 | Multiple '**' nested | |
| 94 | Nested {} | |
| 95 | Multiple '=' in variable | |
| 96 | Unmatched '{' | |
| 97 | Duplicate variable key | |
| 98 | Variable containing '/' | |
| 214 | Extra '/far' | |
| 218 | Missing final wildcard | |
| 222 | Missing middle wildcard | |
| 226 | Too many segments for middle wildcard | |
| 230 | Missing middle wildcard | |
| 234 | Missing action | |
| 238 | Wrong action | |
| 242 | Wrong action | |
| 246 | Wrong literal | |
| 250 | Wrong literal | |
| 276 | Missing key | |
| 280 | Wrong key | |
| 284 | Invalid binding | |
| 288 | Invalid binding | |
| 292 | Invalid binding | |
| 297 | Invalid binding |
ParserTest.php
| Type | Line | Description |
|---|---|---|
| 92 | Combine the pieces in $comboPathPieces in every possible order | |
| 175 | Null path | |
| 176 | Empty path | |
| 177 | Leading '/' | |
| 178 | Contains ':' | |
| 179 | Contains '{' | |
| 180 | Contains '}' | |
| 181 | Contains '{' and '}' | |
| 182 | Empty var | |
| 183 | Invalid var | |
| 184 | Unbalanced '{' | |
| 185 | Multiple '=' in variable | |
| 186 | Invalid resource template |
RelativeResourceTemplateTest.php
| Type | Line | Description |
|---|---|---|
| 84 | Null path | |
| 85 | Empty path | |
| 86 | Action containing '/' | |
| 87 | Multiple ':' | |
| 88 | Mixed literal and '*' | |
| 89 | Multiple '**' | |
| 90 | Multiple '**' nested | |
| 91 | Multiple '**' nested | |
| 92 | Multiple '**' nested | |
| 93 | Nested {} | |
| 94 | Multiple '=' in variable | |
| 95 | Unmatched '{' | |
| 96 | Duplicate variable key | |
| 97 | Variable containing '/' | |
| 218 | Extra '/far' | |
| 222 | Missing final wildcard | |
| 226 | Missing middle wildcard | |
| 230 | Too many segments for middle wildcard | |
| 234 | Missing middle wildcard | |
| 238 | Wrong literal | |
| 242 | Wrong literal | |
| 268 | Missing key | |
| 272 | Wrong key | |
| 276 | Invalid binding | |
| 280 | Invalid binding | |
| 284 | Invalid binding | |
| 289 | Invalid binding |
RetrySettingsTest.php
| Type | Line | Description |
|---|---|---|
| 113 | Missing field: | |
| 114 | 'maxRetryDelayMillis' => 400, | |
| 212 | Test with retryableCodes, without retriesEnabled or noRetriesRpcTimeoutMillis | |
| 217 | Test with empty retryableCodes, without retriesEnabled or noRetriesRpcTimeoutMillis | |
| 227 | Test with retryableCodes, with retriesEnabled=false | |
| 236 | Test with empty retryableCodes, with retriesEnabled=true | |
| 247 | Test with noRetriesRpcTimeoutMillis | |
| 286 | Test with no changes | |
| 292 | Test disable retries | |
| 302 | Test change all settings |
SerializerTest.php
| Type | Line | Description |
|---|---|---|
| 59 | Check that $message when encoded is equal to $arrayStructure | |
| 63 | Check that $message when encoded and decoded is unchanged | |
| 67 | Check that $arrayStructure when decoded is equal to $message | |
| 71 | Check that $arrayStructure when decoded and encoded is unchanged | |
| 159 | Using this class because it contains maps, oneofs and structs |
ServiceAddressTraitTest.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
GrpcFallbackTransportTest.php
| Type | Line | Description |
|---|---|---|
| 83 | $serviceAddress/\$rpc/Testing123", | |
| 156 | www.example.com'), | |
| 231 | www.example.com'), |
GrpcTransportTest.php
| Type | Line | Description |
|---|---|---|
| 230 | for loop to trigger generator and API exception | |
| 366 | for loop to trigger generator and API exception |
RestTransportTest.php
| Type | Line | Description |
|---|---|---|
| 62 | www.example.com') | |
| 147 | www.example.com'), | |
| 235 | www.example.com'), |
UriTraitTest.php
| Type | Line | Description |
|---|---|---|
| 52 | www.example.com'; |
ValidationTraitTest.php
| Type | Line | Description |
|---|---|---|
| 9 | www.apache.org/licenses/LICENSE-2.0 |
prober.php
| Type | Line | Description |
|---|---|---|
| 5 | require_once '../Google/Cloud/Firestore/V1beta1/FirestoreClient.php'; | |
| 6 | require_once '../Google/Cloud/Spanner/V1/SpannerClient.php'; | |
| 12 | www.googleapis.com/auth/cloud-platform'; |
spanner_probes.php
| Type | Line | Description |
|---|---|---|
| 112 | TODO: Error check result_set | |
| 122 | TODO: Error Check for sreaming sql first result | |
| 160 | TODO: Error Check for result_set | |
| 169 | TODO: Error Check for streaming read first result |
ChannelRef.php
| Type | Line | Description |
|---|---|---|
| 10 | www.apache.org/licenses/LICENSE-2.0 | |
| 27 | $opts has all information except Credentials for creating a Grpc\Channel. | |
| 50 | TODO(ddyihai): remove this check once the serialize handler for | |
| 51 | \Grpc\Channel is implemented(issue https://github.com/grpc/grpc/issues/15870). | |
| 53 | $real_channel exists and is not created by the deserialization. | |
| 56 | If this ChannelRef is created by deserialization, $real_channel is invalid | |
| 57 | thus needs to be recreated becasue Grpc\Channel don't have serialize and | |
| 58 | deserialize handler. | |
| 59 | Since [target + augments + credentials] will be the same during the recreation, | |
| 60 | it will reuse the underline grpc channel in C extension without creating a | |
| 61 | new connection. | |
| 63 | 'credentials' in the array $opts will be unset during creating the channel. | |
| 69 | Set deserialization to false so it won't be recreated within the same script. |
Config.php
| Type | Line | Description |
|---|---|---|
| 10 | www.apache.org/licenses/LICENSE-2.0 | |
| 43 | If there is no configure file, use the default gRPC channel. | |
| 60 | Channel pool for the $hostname API has already created. | |
| 64 | Create GCP channel based on the information. | |
| 69 | Push the current gcp_channel back into the pool when the script finishes. | |
| 101 | In proto3, if the value is default, eg 0 for int, it won't be serialized. | |
| 102 | Thus serialized string may not have `command` if the value is default 0(BOUND). |
CreatedByDeserializeCheck.php
| Type | Line | Description |
|---|---|---|
| 10 | www.apache.org/licenses/LICENSE-2.0 | |
| 30 | TODO(ddyihai): remove it once the serialzer handler for \Grpc\Channel is implemented. |
GcpBaseCall.php
| Type | Line | Description |
|---|---|---|
| 10 | www.apache.org/licenses/LICENSE-2.0 | |
| 29 | It has the Grpc\Channel and related ref_count information for this RPC. | |
| 31 | If this RPC is 'UNBIND', use it instead of the one from response. | |
| 33 | Array of [affinity_key, command] | |
| 36 | Information needed to create Grpc\Call object when the RPC starts. | |
| 42 | In GCP extension, it is when a RPC calls "start", we pick a channel. | |
| 43 | Thus we need to save the $me | |
| 45 | first_rpc is used to check whether the first request is sent for client | |
| 46 | streaming RPC. |
GCPBidiStreamingCall.php
| Type | Line | Description |
|---|---|---|
| 10 | www.apache.org/licenses/LICENSE-2.0 |
GCPCallInvoker.php
| Type | Line | Description |
|---|---|---|
| 10 | www.apache.org/licenses/LICENSE-2.0 | |
| 53 | $call_invoker object has already created from previews PHP-FPM scripts. | |
| 54 | Only need to udpate the $opts including the credentials. | |
| 64 | _getChannel is used for testing only. |
GCPClientStreamCall.php
| Type | Line | Description |
|---|---|---|
| 10 | www.apache.org/licenses/LICENSE-2.0 | |
| 43 | Postpone first rpc to write function(), where we can pick a channel | |
| 44 | from the channel pool. |
GcpExtensionChannel.php
| Type | Line | Description |
|---|---|---|
| 10 | www.apache.org/licenses/LICENSE-2.0 | |
| 74 | Initiate a Grpc\Channel at the beginning in order to keep the same | |
| 75 | behavior as the Grpc. | |
| 158 | grpc_target_persist_bound stands for how many channels can be persisted for | |
| 159 | the same target in the C extension. It is possible that the user use the pure | |
| 160 | gRPC and this GCP extension at the same time, which share the same target. In this case | |
| 161 | pure gRPC channel may occupy positions in C extension, which deletes some channels created | |
| 162 | by this GCP extension. | |
| 163 | If that happens, it won't cause the script failure because we saves all arguments for creating | |
| 164 | a channel instead of a channel itself. If we watch to fetch a GCP channel already deleted, | |
| 165 | it will create a new channel. The only cons is the latency of the first RPC will high because | |
| 166 | it will establish the connection again. | |
| 189 | Since getRealChannel is creating a PHP Channel object. However in gRPC, when a Channel | |
| 190 | object is closed, we only mark this Object to be invalid. Thus, we need a global variable | |
| 191 | to mark whether this GCPExtensionChannel is close or not. | |
| 248 | Since getRealChannel is creating a PHP Channel object. However in gRPC, when a Channel | |
| 249 | object is closed, we only mark this Object to be invalid. Thus, we need a global variable | |
| 250 | to mark whether this GCPExtensionChannel is close or not. |
GCPServerStreamCall.php
| Type | Line | Description |
|---|---|---|
| 10 | www.apache.org/licenses/LICENSE-2.0 | |
| 59 | Since the last response is empty for the server streaming RPC, | |
| 60 | the second last one is the last RPC response with payload. | |
| 61 | Use this one for searching the affinity key. | |
| 62 | The same as BidiStreaming. |
GCPUnaryCall.php
| Type | Line | Description |
|---|---|---|
| 10 | www.apache.org/licenses/LICENSE-2.0 |
Api.php
| Type | Line | Description |
|---|---|---|
| 18 | cloud.google.com/apis/design/glossary for | |
| 52 | semver.org) where the major version number | |
| 107 | semver.org) where the major version number | |
| 219 | semver.org) where the major version number | |
| 246 | semver.org) where the major version number |
Descriptor.php
| Type | Line | Description |
|---|---|---|
| 3 | Protocol Buffers - Google's data interchange format | |
| 4 | Copyright 2017 Google Inc. All rights reserved. | |
| 5 | https://developers.google.com/protocol-buffers/ | |
| 7 | // Redistribution and use in source and binary forms, with or without | |
| 8 | modification, are permitted provided that the following conditions are | |
| 9 | met: | |
| 11 | // * Redistributions of source code must retain the above copyright | |
| 12 | notice, this list of conditions and the following disclaimer. | |
| 13 | * Redistributions in binary form must reproduce the above | |
| 14 | copyright notice, this list of conditions and the following disclaimer | |
| 15 | in the documentation and/or other materials provided with the | |
| 16 | distribution. | |
| 17 | * Neither the name of Google Inc. nor the names of its | |
| 18 | contributors may be used to endorse or promote products derived from | |
| 19 | this software without specific prior written permission. | |
| 21 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
| 22 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
| 23 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
| 24 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | |
| 25 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
| 26 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | |
| 27 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | |
| 28 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | |
| 29 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
| 30 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |
| 31 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
DescriptorPool.php
| Type | Line | Description |
|---|---|---|
| 3 | Protocol Buffers - Google's data interchange format | |
| 4 | Copyright 2017 Google Inc. All rights reserved. | |
| 5 | https://developers.google.com/protocol-buffers/ | |
| 7 | // Redistribution and use in source and binary forms, with or without | |
| 8 | modification, are permitted provided that the following conditions are | |
| 9 | met: | |
| 11 | // * Redistributions of source code must retain the above copyright | |
| 12 | notice, this list of conditions and the following disclaimer. | |
| 13 | * Redistributions in binary form must reproduce the above | |
| 14 | copyright notice, this list of conditions and the following disclaimer | |
| 15 | in the documentation and/or other materials provided with the | |
| 16 | distribution. | |
| 17 | * Neither the name of Google Inc. nor the names of its | |
| 18 | contributors may be used to endorse or promote products derived from | |
| 19 | this software without specific prior written permission. | |
| 21 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
| 22 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
| 23 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
| 24 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | |
| 25 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
| 26 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | |
| 27 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | |
| 28 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | |
| 29 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
| 30 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |
| 31 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
EnumDescriptor.php
| Type | Line | Description |
|---|---|---|
| 3 | Protocol Buffers - Google's data interchange format | |
| 4 | Copyright 2017 Google Inc. All rights reserved. | |
| 5 | https://developers.google.com/protocol-buffers/ | |
| 7 | // Redistribution and use in source and binary forms, with or without | |
| 8 | modification, are permitted provided that the following conditions are | |
| 9 | met: | |
| 11 | // * Redistributions of source code must retain the above copyright | |
| 12 | notice, this list of conditions and the following disclaimer. | |
| 13 | * Redistributions in binary form must reproduce the above | |
| 14 | copyright notice, this list of conditions and the following disclaimer | |
| 15 | in the documentation and/or other materials provided with the | |
| 16 | distribution. | |
| 17 | * Neither the name of Google Inc. nor the names of its | |
| 18 | contributors may be used to endorse or promote products derived from | |
| 19 | this software without specific prior written permission. | |
| 21 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
| 22 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
| 23 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
| 24 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | |
| 25 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
| 26 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | |
| 27 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | |
| 28 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | |
| 29 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
| 30 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |
| 31 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
EnumValueDescriptor.php
| Type | Line | Description |
|---|---|---|
| 3 | Protocol Buffers - Google's data interchange format | |
| 4 | Copyright 2008 Google Inc. All rights reserved. | |
| 5 | https://developers.google.com/protocol-buffers/ | |
| 7 | // Redistribution and use in source and binary forms, with or without | |
| 8 | modification, are permitted provided that the following conditions are | |
| 9 | met: | |
| 11 | // * Redistributions of source code must retain the above copyright | |
| 12 | notice, this list of conditions and the following disclaimer. | |
| 13 | * Redistributions in binary form must reproduce the above | |
| 14 | copyright notice, this list of conditions and the following disclaimer | |
| 15 | in the documentation and/or other materials provided with the | |
| 16 | distribution. | |
| 17 | * Neither the name of Google Inc. nor the names of its | |
| 18 | contributors may be used to endorse or promote products derived from | |
| 19 | this software without specific prior written permission. | |
| 21 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
| 22 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
| 23 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
| 24 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | |
| 25 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
| 26 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | |
| 27 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | |
| 28 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | |
| 29 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
| 30 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |
| 31 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
Cardinality.php
| Type | Line | Description |
|---|---|---|
| 69 | Adding a class alias for backwards compatibility with the previous class name. |
Kind.php
| Type | Line | Description |
|---|---|---|
| 174 | Adding a class alias for backwards compatibility with the previous class name. |
FieldDescriptor.php
| Type | Line | Description |
|---|---|---|
| 3 | Protocol Buffers - Google's data interchange format | |
| 4 | Copyright 2017 Google Inc. All rights reserved. | |
| 5 | https://developers.google.com/protocol-buffers/ | |
| 7 | // Redistribution and use in source and binary forms, with or without | |
| 8 | modification, are permitted provided that the following conditions are | |
| 9 | met: | |
| 11 | // * Redistributions of source code must retain the above copyright | |
| 12 | notice, this list of conditions and the following disclaimer. | |
| 13 | * Redistributions in binary form must reproduce the above | |
| 14 | copyright notice, this list of conditions and the following disclaimer | |
| 15 | in the documentation and/or other materials provided with the | |
| 16 | distribution. | |
| 17 | * Neither the name of Google Inc. nor the names of its | |
| 18 | contributors may be used to endorse or promote products derived from | |
| 19 | this software without specific prior written permission. | |
| 21 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
| 22 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
| 23 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
| 24 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | |
| 25 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
| 26 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | |
| 27 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | |
| 28 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | |
| 29 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
| 30 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |
| 31 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
AnyBase.php
| Type | Line | Description |
|---|---|---|
| 25 | Get fully qualified name from type url. | |
| 35 | Create message according to fully qualified name. | |
| 45 | Merge data into message. | |
| 63 | Set value using serialized message. | |
| 66 | Set type url. |
CodedInputStream.php
| Type | Line | Description |
|---|---|---|
| 3 | Protocol Buffers - Google's data interchange format | |
| 4 | Copyright 2008 Google Inc. All rights reserved. | |
| 5 | https://developers.google.com/protocol-buffers/ | |
| 7 | // Redistribution and use in source and binary forms, with or without | |
| 8 | modification, are permitted provided that the following conditions are | |
| 9 | met: | |
| 11 | // * Redistributions of source code must retain the above copyright | |
| 12 | notice, this list of conditions and the following disclaimer. | |
| 13 | * Redistributions in binary form must reproduce the above | |
| 14 | copyright notice, this list of conditions and the following disclaimer | |
| 15 | in the documentation and/or other materials provided with the | |
| 16 | distribution. | |
| 17 | * Neither the name of Google Inc. nor the names of its | |
| 18 | contributors may be used to endorse or promote products derived from | |
| 19 | this software without specific prior written permission. | |
| 21 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
| 22 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
| 23 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
| 24 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | |
| 25 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
| 26 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | |
| 27 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | |
| 28 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | |
| 29 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
| 30 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |
| 31 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
| 53 | 32 << 20, 32MB | |
| 98 | The limit position is in the current buffer. We must adjust the | |
| 99 | buffer size accordingly. | |
| 130 | Convert large uint32 to int32. | |
| 168 | $bits is 28 in this case. | |
| 269 | Make sure that it failed due to EOF, not because we hit | |
| 270 | total_bytes_limit, which, unlike normal limits, is not a valid | |
| 271 | place to end a message. | |
| 275 | Hit total_bytes_limit_. But if we also hit the normal limit, | |
| 276 | we're still OK. | |
| 286 | The largest tag is 2^29 - 1, which can be represented by int32. | |
| 328 | Current position relative to the beginning of the stream. | |
| 332 | security: byte_limit is possibly evil, so check for negative values | |
| 333 | and overflow. | |
| 355 | We may no longer be at a legitimate message end. ReadTag() needs to | |
| 356 | be called again to find out. |
CodedOutputStream.php
| Type | Line | Description |
|---|---|---|
| 3 | Protocol Buffers - Google's data interchange format | |
| 4 | Copyright 2008 Google Inc. All rights reserved. | |
| 5 | https://developers.google.com/protocol-buffers/ | |
| 7 | // Redistribution and use in source and binary forms, with or without | |
| 8 | modification, are permitted provided that the following conditions are | |
| 9 | met: | |
| 11 | // * Redistributions of source code must retain the above copyright | |
| 12 | notice, this list of conditions and the following disclaimer. | |
| 13 | * Redistributions in binary form must reproduce the above | |
| 14 | copyright notice, this list of conditions and the following disclaimer | |
| 15 | in the documentation and/or other materials provided with the | |
| 16 | distribution. | |
| 17 | * Neither the name of Google Inc. nor the names of its | |
| 18 | contributors may be used to endorse or promote products derived from | |
| 19 | this software without specific prior written permission. | |
| 21 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
| 22 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
| 23 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
| 24 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | |
| 25 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
| 26 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | |
| 27 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | |
| 28 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | |
| 29 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
| 30 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |
| 31 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
Descriptor.php
| Type | Line | Description |
|---|---|---|
| 3 | Protocol Buffers - Google's data interchange format | |
| 4 | Copyright 2008 Google Inc. All rights reserved. | |
| 5 | https://developers.google.com/protocol-buffers/ | |
| 7 | // Redistribution and use in source and binary forms, with or without | |
| 8 | modification, are permitted provided that the following conditions are | |
| 9 | met: | |
| 11 | // * Redistributions of source code must retain the above copyright | |
| 12 | notice, this list of conditions and the following disclaimer. | |
| 13 | * Redistributions in binary form must reproduce the above | |
| 14 | copyright notice, this list of conditions and the following disclaimer | |
| 15 | in the documentation and/or other materials provided with the | |
| 16 | distribution. | |
| 17 | * Neither the name of Google Inc. nor the names of its | |
| 18 | contributors may be used to endorse or promote products derived from | |
| 19 | this software without specific prior written permission. | |
| 21 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
| 22 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
| 23 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
| 24 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | |
| 25 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
| 26 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | |
| 27 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | |
| 28 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | |
| 29 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
| 30 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |
| 31 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
| 200 | Handle nested types. | |
| 206 | Handle nested enum. | |
| 212 | Handle oneof fields. |
DescriptorPool.php
| Type | Line | Description |
|---|---|---|
| 3 | Protocol Buffers - Google's data interchange format | |
| 4 | Copyright 2008 Google Inc. All rights reserved. | |
| 5 | https://developers.google.com/protocol-buffers/ | |
| 7 | // Redistribution and use in source and binary forms, with or without | |
| 8 | modification, are permitted provided that the following conditions are | |
| 9 | met: | |
| 11 | // * Redistributions of source code must retain the above copyright | |
| 12 | notice, this list of conditions and the following disclaimer. | |
| 13 | * Redistributions in binary form must reproduce the above | |
| 14 | copyright notice, this list of conditions and the following disclaimer | |
| 15 | in the documentation and/or other materials provided with the | |
| 16 | distribution. | |
| 17 | * Neither the name of Google Inc. nor the names of its | |
| 18 | contributors may be used to endorse or promote products derived from | |
| 19 | this software without specific prior written permission. | |
| 21 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
| 22 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
| 23 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
| 24 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | |
| 25 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
| 26 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | |
| 27 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | |
| 28 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | |
| 29 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
| 30 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |
| 31 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
| 44 | Map from message names to sub-maps, which are maps from field numbers to | |
| 45 | field descriptors. |
ExtensionRange.php
| Type | Line | Description |
|---|---|---|
| 159 | Adding a class alias for backwards compatibility with the previous class name. |
ReservedRange.php
| Type | Line | Description |
|---|---|---|
| 126 | Adding a class alias for backwards compatibility with the previous class name. |
EnumBuilderContext.php
| Type | Line | Description |
|---|---|---|
| 3 | Protocol Buffers - Google's data interchange format | |
| 4 | Copyright 2008 Google Inc. All rights reserved. | |
| 5 | https://developers.google.com/protocol-buffers/ | |
| 7 | // Redistribution and use in source and binary forms, with or without | |
| 8 | modification, are permitted provided that the following conditions are | |
| 9 | met: | |
| 11 | // * Redistributions of source code must retain the above copyright | |
| 12 | notice, this list of conditions and the following disclaimer. | |
| 13 | * Redistributions in binary form must reproduce the above | |
| 14 | copyright notice, this list of conditions and the following disclaimer | |
| 15 | in the documentation and/or other materials provided with the | |
| 16 | distribution. | |
| 17 | * Neither the name of Google Inc. nor the names of its | |
| 18 | contributors may be used to endorse or promote products derived from | |
| 19 | this software without specific prior written permission. | |
| 21 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
| 22 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
| 23 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
| 24 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | |
| 25 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
| 26 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | |
| 27 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | |
| 28 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | |
| 29 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
| 30 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |
| 31 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
EnumReservedRange.php
| Type | Line | Description |
|---|---|---|
| 128 | Adding a class alias for backwards compatibility with the previous class name. |
FieldDescriptor.php
| Type | Line | Description |
|---|---|---|
| 3 | Protocol Buffers - Google's data interchange format | |
| 4 | Copyright 2008 Google Inc. All rights reserved. | |
| 5 | https://developers.google.com/protocol-buffers/ | |
| 7 | // Redistribution and use in source and binary forms, with or without | |
| 8 | modification, are permitted provided that the following conditions are | |
| 9 | met: | |
| 11 | // * Redistributions of source code must retain the above copyright | |
| 12 | notice, this list of conditions and the following disclaimer. | |
| 13 | * Redistributions in binary form must reproduce the above | |
| 14 | copyright notice, this list of conditions and the following disclaimer | |
| 15 | in the documentation and/or other materials provided with the | |
| 16 | distribution. | |
| 17 | * Neither the name of Google Inc. nor the names of its | |
| 18 | contributors may be used to endorse or promote products derived from | |
| 19 | this software without specific prior written permission. | |
| 21 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
| 22 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
| 23 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
| 24 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | |
| 25 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
| 26 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | |
| 27 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | |
| 28 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | |
| 29 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
| 30 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |
| 31 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
| 232 | TODO: once proto2 is supported, this default should be false | |
| 233 | for proto2. | |
| 273 | At this time, the message/enum type may have not been added to pool. | |
| 274 | So we use the type name as place holder and will replace it with the | |
| 275 | actual descriptor in cross building. |
Label.php
| Type | Line | Description |
|---|---|---|
| 56 | Adding a class alias for backwards compatibility with the previous class name. |
Type.php
| Type | Line | Description |
|---|---|---|
| 151 | Adding a class alias for backwards compatibility with the previous class name. |
CType.php
| Type | Line | Description |
|---|---|---|
| 56 | Adding a class alias for backwards compatibility with the previous class name. |
JSType.php
| Type | Line | Description |
|---|---|---|
| 60 | Adding a class alias for backwards compatibility with the previous class name. |
FileDescriptor.php
| Type | Line | Description |
|---|---|---|
| 3 | Protocol Buffers - Google's data interchange format | |
| 4 | Copyright 2008 Google Inc. All rights reserved. | |
| 5 | https://developers.google.com/protocol-buffers/ | |
| 7 | // Redistribution and use in source and binary forms, with or without | |
| 8 | modification, are permitted provided that the following conditions are | |
| 9 | met: | |
| 11 | // * Redistributions of source code must retain the above copyright | |
| 12 | notice, this list of conditions and the following disclaimer. | |
| 13 | * Redistributions in binary form must reproduce the above | |
| 14 | copyright notice, this list of conditions and the following disclaimer | |
| 15 | in the documentation and/or other materials provided with the | |
| 16 | distribution. | |
| 17 | * Neither the name of Google Inc. nor the names of its | |
| 18 | contributors may be used to endorse or promote products derived from | |
| 19 | this software without specific prior written permission. | |
| 21 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
| 22 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
| 23 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
| 24 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | |
| 25 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
| 26 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | |
| 27 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | |
| 28 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | |
| 29 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
| 30 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |
| 31 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
OptimizeMode.php
| Type | Line | Description |
|---|---|---|
| 62 | Adding a class alias for backwards compatibility with the previous class name. |
Annotation.php
| Type | Line | Description |
|---|---|---|
| 216 | Adding a class alias for backwards compatibility with the previous class name. |
GetPublicDescriptorTrait.php
| Type | Line | Description |
|---|---|---|
| 3 | Protocol Buffers - Google's data interchange format | |
| 4 | Copyright 2017 Google Inc. All rights reserved. | |
| 5 | https://developers.google.com/protocol-buffers/ | |
| 7 | // Redistribution and use in source and binary forms, with or without | |
| 8 | modification, are permitted provided that the following conditions are | |
| 9 | met: | |
| 11 | // * Redistributions of source code must retain the above copyright | |
| 12 | notice, this list of conditions and the following disclaimer. | |
| 13 | * Redistributions in binary form must reproduce the above | |
| 14 | copyright notice, this list of conditions and the following disclaimer | |
| 15 | in the documentation and/or other materials provided with the | |
| 16 | distribution. | |
| 17 | * Neither the name of Google Inc. nor the names of its | |
| 18 | contributors may be used to endorse or promote products derived from | |
| 19 | this software without specific prior written permission. | |
| 21 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
| 22 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
| 23 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
| 24 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | |
| 25 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
| 26 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | |
| 27 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | |
| 28 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | |
| 29 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
| 30 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |
| 31 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
GPBDecodeException.php
| Type | Line | Description |
|---|---|---|
| 3 | Protocol Buffers - Google's data interchange format | |
| 4 | Copyright 2008 Google Inc. All rights reserved. | |
| 5 | https://developers.google.com/protocol-buffers/ | |
| 7 | // Redistribution and use in source and binary forms, with or without | |
| 8 | modification, are permitted provided that the following conditions are | |
| 9 | met: | |
| 11 | // * Redistributions of source code must retain the above copyright | |
| 12 | notice, this list of conditions and the following disclaimer. | |
| 13 | * Redistributions in binary form must reproduce the above | |
| 14 | copyright notice, this list of conditions and the following disclaimer | |
| 15 | in the documentation and/or other materials provided with the | |
| 16 | distribution. | |
| 17 | * Neither the name of Google Inc. nor the names of its | |
| 18 | contributors may be used to endorse or promote products derived from | |
| 19 | this software without specific prior written permission. | |
| 21 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
| 22 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
| 23 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
| 24 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | |
| 25 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
| 26 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | |
| 27 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | |
| 28 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | |
| 29 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
| 30 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |
| 31 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
GPBJsonWire.php
| Type | Line | Description |
|---|---|---|
| 3 | Protocol Buffers - Google's data interchange format | |
| 4 | Copyright 2008 Google Inc. All rights reserved. | |
| 5 | https://developers.google.com/protocol-buffers/ | |
| 7 | // Redistribution and use in source and binary forms, with or without | |
| 8 | modification, are permitted provided that the following conditions are | |
| 9 | met: | |
| 11 | // * Redistributions of source code must retain the above copyright | |
| 12 | notice, this list of conditions and the following disclaimer. | |
| 13 | * Redistributions in binary form must reproduce the above | |
| 14 | copyright notice, this list of conditions and the following disclaimer | |
| 15 | in the documentation and/or other materials provided with the | |
| 16 | distribution. | |
| 17 | * Neither the name of Google Inc. nor the names of its | |
| 18 | contributors may be used to endorse or promote products derived from | |
| 19 | this software without specific prior written permission. | |
| 21 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
| 22 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
| 23 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
| 24 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | |
| 25 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
| 26 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | |
| 27 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | |
| 28 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | |
| 29 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
| 30 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |
| 31 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
| 165 | Intentional fall through. | |
| 232 | case GPBType::GROUP: | |
| 233 | echo "GROUP\xA"; | |
| 234 | trigger_error("Not implemented.", E_ERROR); | |
| 235 | break; | |
| 251 | Used for escaping control chars in strings. | |
| 271 | See RFC 4627. | |
| 281 | Handle escaping. | |
| 283 | Use a "nice" escape, like \n, if one exists for this | |
| 284 | character. |
GPBLabel.php
| Type | Line | Description |
|---|---|---|
| 3 | Protocol Buffers - Google's data interchange format | |
| 4 | Copyright 2008 Google Inc. All rights reserved. | |
| 5 | https://developers.google.com/protocol-buffers/ | |
| 7 | // Redistribution and use in source and binary forms, with or without | |
| 8 | modification, are permitted provided that the following conditions are | |
| 9 | met: | |
| 11 | // * Redistributions of source code must retain the above copyright | |
| 12 | notice, this list of conditions and the following disclaimer. | |
| 13 | * Redistributions in binary form must reproduce the above | |
| 14 | copyright notice, this list of conditions and the following disclaimer | |
| 15 | in the documentation and/or other materials provided with the | |
| 16 | distribution. | |
| 17 | * Neither the name of Google Inc. nor the names of its | |
| 18 | contributors may be used to endorse or promote products derived from | |
| 19 | this software without specific prior written permission. | |
| 21 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
| 22 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
| 23 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
| 24 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | |
| 25 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
| 26 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | |
| 27 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | |
| 28 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | |
| 29 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
| 30 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |
| 31 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
GPBType.php
| Type | Line | Description |
|---|---|---|
| 3 | Protocol Buffers - Google's data interchange format | |
| 4 | Copyright 2008 Google Inc. All rights reserved. | |
| 5 | https://developers.google.com/protocol-buffers/ | |
| 7 | // Redistribution and use in source and binary forms, with or without | |
| 8 | modification, are permitted provided that the following conditions are | |
| 9 | met: | |
| 11 | // * Redistributions of source code must retain the above copyright | |
| 12 | notice, this list of conditions and the following disclaimer. | |
| 13 | * Redistributions in binary form must reproduce the above | |
| 14 | copyright notice, this list of conditions and the following disclaimer | |
| 15 | in the documentation and/or other materials provided with the | |
| 16 | distribution. | |
| 17 | * Neither the name of Google Inc. nor the names of its | |
| 18 | contributors may be used to endorse or promote products derived from | |
| 19 | this software without specific prior written permission. | |
| 21 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
| 22 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
| 23 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
| 24 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | |
| 25 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
| 26 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | |
| 27 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | |
| 28 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | |
| 29 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
| 30 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |
| 31 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
GPBUtil.php
| Type | Line | Description |
|---|---|---|
| 3 | Protocol Buffers - Google's data interchange format | |
| 4 | Copyright 2008 Google Inc. All rights reserved. | |
| 5 | https://developers.google.com/protocol-buffers/ | |
| 7 | // Redistribution and use in source and binary forms, with or without | |
| 8 | modification, are permitted provided that the following conditions are | |
| 9 | met: | |
| 11 | // * Redistributions of source code must retain the above copyright | |
| 12 | notice, this list of conditions and the following disclaimer. | |
| 13 | * Redistributions in binary form must reproduce the above | |
| 14 | copyright notice, this list of conditions and the following disclaimer | |
| 15 | in the documentation and/or other materials provided with the | |
| 16 | distribution. | |
| 17 | * Neither the name of Google Inc. nor the names of its | |
| 18 | contributors may be used to endorse or promote products derived from | |
| 19 | this software without specific prior written permission. | |
| 21 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
| 22 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
| 23 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
| 24 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | |
| 25 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
| 26 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | |
| 27 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | |
| 28 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | |
| 29 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
| 30 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |
| 31 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
| 101 | u', $var)) { | |
| 332 | Full name needs to start with '.'. | |
| 408 | prevent parsing timestamps containing with the non-existent year "0000" | |
| 409 | DateTime::createFromFormat parses without failing but as a nonsensical date | |
| 413 | prevent parsing timestamps ending with a lowercase z | |
| 422 | find the next non-numeric character in the timestamp to calculate | |
| 423 | the length of the nanoseconds text | |
| 440 | remove the nanoseconds and preceding period from the timestamp |
GPBWire.php
| Type | Line | Description |
|---|---|---|
| 3 | Protocol Buffers - Google's data interchange format | |
| 4 | Copyright 2008 Google Inc. All rights reserved. | |
| 5 | https://developers.google.com/protocol-buffers/ | |
| 7 | // Redistribution and use in source and binary forms, with or without | |
| 8 | modification, are permitted provided that the following conditions are | |
| 9 | met: | |
| 11 | // * Redistributions of source code must retain the above copyright | |
| 12 | notice, this list of conditions and the following disclaimer. | |
| 13 | * Redistributions in binary form must reproduce the above | |
| 14 | copyright notice, this list of conditions and the following disclaimer | |
| 15 | in the documentation and/or other materials provided with the | |
| 16 | distribution. | |
| 17 | * Neither the name of Google Inc. nor the names of its | |
| 18 | contributors may be used to endorse or promote products derived from | |
| 19 | this software without specific prior written permission. | |
| 21 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
| 22 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
| 23 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
| 24 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | |
| 25 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
| 26 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | |
| 27 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | |
| 28 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | |
| 29 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
| 30 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |
| 31 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
| 53 | We have to mask because PHP has no arithmetic shift. | |
| 95 | ZigZag Transform: Encodes signed integers so that they can be effectively | |
| 96 | used with varint encoding. | |
| 98 | // varint operates on unsigned integers, encoding smaller numbers into fewer | |
| 99 | bytes. If you try to use it on a signed integer, it will treat this | |
| 100 | number as a very large unsigned integer, which means that even small | |
| 101 | signed numbers like -1 will take the maximum number of bytes (10) to | |
| 102 | encode. zigZagEncode() maps signed integers to unsigned in such a way | |
| 103 | that those with a small absolute value will have smaller encoded values, | |
| 104 | making them appropriate for encoding using varint. | |
| 106 | // int32 -> uint32 | |
| 107 | ------------------------- | |
| 108 | 0 -> 0 | |
| 109 | -1 -> 1 | |
| 110 | 1 -> 2 | |
| 111 | -2 -> 3 | |
| 112 | ... -> ... | |
| 113 | 2147483647 -> 4294967294 | |
| 114 | -2147483648 -> 4294967295 | |
| 116 | // >> encode >> | |
| 117 | << decode << | |
| 130 | Fill high 32 bits. | |
| 568 | case GPBType::GROUP: | |
| 569 | echo "GROUP\xA"; | |
| 570 | trigger_error("Not implemented.", E_ERROR); | |
| 571 | break; |
GPBWireType.php
| Type | Line | Description |
|---|---|---|
| 3 | Protocol Buffers - Google's data interchange format | |
| 4 | Copyright 2008 Google Inc. All rights reserved. | |
| 5 | https://developers.google.com/protocol-buffers/ | |
| 7 | // Redistribution and use in source and binary forms, with or without | |
| 8 | modification, are permitted provided that the following conditions are | |
| 9 | met: | |
| 11 | // * Redistributions of source code must retain the above copyright | |
| 12 | notice, this list of conditions and the following disclaimer. | |
| 13 | * Redistributions in binary form must reproduce the above | |
| 14 | copyright notice, this list of conditions and the following disclaimer | |
| 15 | in the documentation and/or other materials provided with the | |
| 16 | distribution. | |
| 17 | * Neither the name of Google Inc. nor the names of its | |
| 18 | contributors may be used to endorse or promote products derived from | |
| 19 | this software without specific prior written permission. | |
| 21 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
| 22 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
| 23 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
| 24 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | |
| 25 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
| 26 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | |
| 27 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | |
| 28 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | |
| 29 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
| 30 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |
| 31 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
HasPublicDescriptorTrait.php
| Type | Line | Description |
|---|---|---|
| 3 | Protocol Buffers - Google's data interchange format | |
| 4 | Copyright 2008 Google Inc. All rights reserved. | |
| 5 | https://developers.google.com/protocol-buffers/ | |
| 7 | // Redistribution and use in source and binary forms, with or without | |
| 8 | modification, are permitted provided that the following conditions are | |
| 9 | met: | |
| 11 | // * Redistributions of source code must retain the above copyright | |
| 12 | notice, this list of conditions and the following disclaimer. | |
| 13 | * Redistributions in binary form must reproduce the above | |
| 14 | copyright notice, this list of conditions and the following disclaimer | |
| 15 | in the documentation and/or other materials provided with the | |
| 16 | distribution. | |
| 17 | * Neither the name of Google Inc. nor the names of its | |
| 18 | contributors may be used to endorse or promote products derived from | |
| 19 | this software without specific prior written permission. | |
| 21 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
| 22 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
| 23 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
| 24 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | |
| 25 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
| 26 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | |
| 27 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | |
| 28 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | |
| 29 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
| 30 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |
| 31 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
MapEntry.php
| Type | Line | Description |
|---|---|---|
| 3 | Protocol Buffers - Google's data interchange format | |
| 4 | Copyright 2008 Google Inc. All rights reserved. | |
| 5 | https://developers.google.com/protocol-buffers/ | |
| 7 | // Redistribution and use in source and binary forms, with or without | |
| 8 | modification, are permitted provided that the following conditions are | |
| 9 | met: | |
| 11 | // * Redistributions of source code must retain the above copyright | |
| 12 | notice, this list of conditions and the following disclaimer. | |
| 13 | * Redistributions in binary form must reproduce the above | |
| 14 | copyright notice, this list of conditions and the following disclaimer | |
| 15 | in the documentation and/or other materials provided with the | |
| 16 | distribution. | |
| 17 | * Neither the name of Google Inc. nor the names of its | |
| 18 | contributors may be used to endorse or promote products derived from | |
| 19 | this software without specific prior written permission. | |
| 21 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
| 22 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
| 23 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
| 24 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | |
| 25 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
| 26 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | |
| 27 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | |
| 28 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | |
| 29 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
| 30 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |
| 31 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
| 45 | For MapEntry, getValue should always return a valid value. Thus, we | |
| 46 | need to create a default instance value if the value type is | |
| 47 | message, in case no value is provided in data. |
MapField.php
| Type | Line | Description |
|---|---|---|
| 3 | Protocol Buffers - Google's data interchange format | |
| 4 | Copyright 2008 Google Inc. All rights reserved. | |
| 5 | https://developers.google.com/protocol-buffers/ | |
| 7 | // Redistribution and use in source and binary forms, with or without | |
| 8 | modification, are permitted provided that the following conditions are | |
| 9 | met: | |
| 11 | // * Redistributions of source code must retain the above copyright | |
| 12 | notice, this list of conditions and the following disclaimer. | |
| 13 | * Redistributions in binary form must reproduce the above | |
| 14 | copyright notice, this list of conditions and the following disclaimer | |
| 15 | in the documentation and/or other materials provided with the | |
| 16 | distribution. | |
| 17 | * Neither the name of Google Inc. nor the names of its | |
| 18 | contributors may be used to endorse or promote products derived from | |
| 19 | this software without specific prior written permission. | |
| 21 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
| 22 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
| 23 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
| 24 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | |
| 25 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
| 26 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | |
| 27 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | |
| 28 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | |
| 29 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
| 30 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |
| 31 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
| 87 | No msg class instance has been created before. |
MapFieldIter.php
| Type | Line | Description |
|---|---|---|
| 3 | Protocol Buffers - Google's data interchange format | |
| 4 | Copyright 2008 Google Inc. All rights reserved. | |
| 5 | https://developers.google.com/protocol-buffers/ | |
| 7 | // Redistribution and use in source and binary forms, with or without | |
| 8 | modification, are permitted provided that the following conditions are | |
| 9 | met: | |
| 11 | // * Redistributions of source code must retain the above copyright | |
| 12 | notice, this list of conditions and the following disclaimer. | |
| 13 | * Redistributions in binary form must reproduce the above | |
| 14 | copyright notice, this list of conditions and the following disclaimer | |
| 15 | in the documentation and/or other materials provided with the | |
| 16 | distribution. | |
| 17 | * Neither the name of Google Inc. nor the names of its | |
| 18 | contributors may be used to endorse or promote products derived from | |
| 19 | this software without specific prior written permission. | |
| 21 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
| 22 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
| 23 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
| 24 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | |
| 25 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
| 26 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | |
| 27 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | |
| 28 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | |
| 29 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
| 30 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |
| 31 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
| 103 | Intentionally fall through | |
| 105 | PHP associative array stores int string as int for key. | |
| 108 | PHP associative array stores bool as integer for key. |
Message.php
| Type | Line | Description |
|---|---|---|
| 3 | Protocol Buffers - Google's data interchange format | |
| 4 | Copyright 2008 Google Inc. All rights reserved. | |
| 5 | https://developers.google.com/protocol-buffers/ | |
| 7 | // Redistribution and use in source and binary forms, with or without | |
| 8 | modification, are permitted provided that the following conditions are | |
| 9 | met: | |
| 11 | // * Redistributions of source code must retain the above copyright | |
| 12 | notice, this list of conditions and the following disclaimer. | |
| 13 | * Redistributions in binary form must reproduce the above | |
| 14 | copyright notice, this list of conditions and the following disclaimer | |
| 15 | in the documentation and/or other materials provided with the | |
| 16 | distribution. | |
| 17 | * Neither the name of Google Inc. nor the names of its | |
| 18 | contributors may be used to endorse or promote products derived from | |
| 19 | this software without specific prior written permission. | |
| 21 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
| 22 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
| 23 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
| 24 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | |
| 25 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
| 26 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | |
| 27 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | |
| 28 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | |
| 29 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
| 30 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |
| 31 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
| 71 | MapEntry message is shared by all types of map fields, whose | |
| 72 | descriptors are different from each other. Thus, we cannot find a | |
| 73 | specific descriptor from the descriptor pool. | |
| 419 | TODO(teboring): Add utf-8 check. | |
| 453 | TODO(teboring): Check unknown enum value. | |
| 507 | the wire type doesn't match. Put it in our unknown field set. | |
| 803 | End of input. This is a valid place to end, so return true. | |
| 1059 | Just call the setters for the field names | |
| 1097 | In the case that $value is not an array, we do not want to | |
| 1098 | attempt any conversion. Note that this includes the cases | |
| 1099 | when $value is a RepeatedField of MapField. In those cases, | |
| 1100 | we do not need to convert the elements, as they should | |
| 1101 | already be the correct types. | |
| 1104 | Normalize each element in the array. | |
| 1126 | This handles the case that $value is an instance of $class. We | |
| 1127 | choose not to do any more strict checking here, relying on the | |
| 1128 | existing type checking done by GPBUtil. | |
| 1131 | Try to instantiate $class and set the value | |
| 1208 | Associative array | |
| 1221 | Array | |
| 1475 | Serialize type url. | |
| 1481 | Serialize value | |
| 1589 | For old generated code, which does not have hazzers for oneof | |
| 1590 | fields. | |
| 1672 | TODO(teboring): Add support. | |
| 1708 | Intentional fall through. | |
| 1712 | size for "" | |
| 1745 | size for "" | |
| 1768 | size for \"\" | |
| 1771 | size for \"\" | |
| 1777 | TODO(teboring): Add support. | |
| 1862 | size for "\"\":". | |
| 1863 | size for field name | |
| 1865 | size for "{}". | |
| 1866 | size for commas | |
| 1885 | size for "" | |
| 1889 | size for : | |
| 1898 | size for "\"\":". | |
| 1899 | size for field name | |
| 1901 | size for "[]". | |
| 1902 | size for commas | |
| 1910 | size for "\"\":". | |
| 1911 | size for field name | |
| 1968 | Size for "{}". | |
| 1971 | Size for "\"@type\":". | |
| 1974 | Size for url. +2 for "" /. | |
| 1979 | Size for "\",value\":". | |
| 1983 | Size for value. +1 for comma, -2 for "{}". | |
| 1988 | 2 for "" | |
| 1991 | 2 for "" | |
| 2002 | Size for "[]". | |
| 2011 | Size for "{}". | |
| 2016 | Size for "{}". | |
| 2029 | size for comma |
MessageBuilderContext.php
| Type | Line | Description |
|---|---|---|
| 3 | Protocol Buffers - Google's data interchange format | |
| 4 | Copyright 2008 Google Inc. All rights reserved. | |
| 5 | https://developers.google.com/protocol-buffers/ | |
| 7 | // Redistribution and use in source and binary forms, with or without | |
| 8 | modification, are permitted provided that the following conditions are | |
| 9 | met: | |
| 11 | // * Redistributions of source code must retain the above copyright | |
| 12 | notice, this list of conditions and the following disclaimer. | |
| 13 | * Redistributions in binary form must reproduce the above | |
| 14 | copyright notice, this list of conditions and the following disclaimer | |
| 15 | in the documentation and/or other materials provided with the | |
| 16 | distribution. | |
| 17 | * Neither the name of Google Inc. nor the names of its | |
| 18 | contributors may be used to endorse or promote products derived from | |
| 19 | this software without specific prior written permission. | |
| 21 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
| 22 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
| 23 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
| 24 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | |
| 25 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
| 26 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | |
| 27 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | |
| 28 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | |
| 29 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
| 30 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |
| 31 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
| 66 | At this time, the message/enum type may have not been added to pool. | |
| 67 | So we use the type name as place holder and will replace it with the | |
| 68 | actual descriptor in cross building. |
IdempotencyLevel.php
| Type | Line | Description |
|---|---|---|
| 62 | Adding a class alias for backwards compatibility with the previous class name. |
OneofDescriptor.php
| Type | Line | Description |
|---|---|---|
| 3 | Protocol Buffers - Google's data interchange format | |
| 4 | Copyright 2008 Google Inc. All rights reserved. | |
| 5 | https://developers.google.com/protocol-buffers/ | |
| 7 | // Redistribution and use in source and binary forms, with or without | |
| 8 | modification, are permitted provided that the following conditions are | |
| 9 | met: | |
| 11 | // * Redistributions of source code must retain the above copyright | |
| 12 | notice, this list of conditions and the following disclaimer. | |
| 13 | * Redistributions in binary form must reproduce the above | |
| 14 | copyright notice, this list of conditions and the following disclaimer | |
| 15 | in the documentation and/or other materials provided with the | |
| 16 | distribution. | |
| 17 | * Neither the name of Google Inc. nor the names of its | |
| 18 | contributors may be used to endorse or promote products derived from | |
| 19 | this software without specific prior written permission. | |
| 21 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
| 22 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
| 23 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
| 24 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | |
| 25 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
| 26 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | |
| 27 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | |
| 28 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | |
| 29 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
| 30 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |
| 31 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
OneofField.php
| Type | Line | Description |
|---|---|---|
| 3 | Protocol Buffers - Google's data interchange format | |
| 4 | Copyright 2008 Google Inc. All rights reserved. | |
| 5 | https://developers.google.com/protocol-buffers/ | |
| 7 | // Redistribution and use in source and binary forms, with or without | |
| 8 | modification, are permitted provided that the following conditions are | |
| 9 | met: | |
| 11 | // * Redistributions of source code must retain the above copyright | |
| 12 | notice, this list of conditions and the following disclaimer. | |
| 13 | * Redistributions in binary form must reproduce the above | |
| 14 | copyright notice, this list of conditions and the following disclaimer | |
| 15 | in the documentation and/or other materials provided with the | |
| 16 | distribution. | |
| 17 | * Neither the name of Google Inc. nor the names of its | |
| 18 | contributors may be used to endorse or promote products derived from | |
| 19 | this software without specific prior written permission. | |
| 21 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
| 22 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
| 23 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
| 24 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | |
| 25 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
| 26 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | |
| 27 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | |
| 28 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | |
| 29 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
| 30 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |
| 31 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
RawInputStream.php
| Type | Line | Description |
|---|---|---|
| 3 | Protocol Buffers - Google's data interchange format | |
| 4 | Copyright 2008 Google Inc. All rights reserved. | |
| 5 | https://developers.google.com/protocol-buffers/ | |
| 7 | // Redistribution and use in source and binary forms, with or without | |
| 8 | modification, are permitted provided that the following conditions are | |
| 9 | met: | |
| 11 | // * Redistributions of source code must retain the above copyright | |
| 12 | notice, this list of conditions and the following disclaimer. | |
| 13 | * Redistributions in binary form must reproduce the above | |
| 14 | copyright notice, this list of conditions and the following disclaimer | |
| 15 | in the documentation and/or other materials provided with the | |
| 16 | distribution. | |
| 17 | * Neither the name of Google Inc. nor the names of its | |
| 18 | contributors may be used to endorse or promote products derived from | |
| 19 | this software without specific prior written permission. | |
| 21 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
| 22 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
| 23 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
| 24 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | |
| 25 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
| 26 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | |
| 27 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | |
| 28 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | |
| 29 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
| 30 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |
| 31 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
RepeatedField.php
| Type | Line | Description |
|---|---|---|
| 3 | Protocol Buffers - Google's data interchange format | |
| 4 | Copyright 2008 Google Inc. All rights reserved. | |
| 5 | https://developers.google.com/protocol-buffers/ | |
| 7 | // Redistribution and use in source and binary forms, with or without | |
| 8 | modification, are permitted provided that the following conditions are | |
| 9 | met: | |
| 11 | // * Redistributions of source code must retain the above copyright | |
| 12 | notice, this list of conditions and the following disclaimer. | |
| 13 | * Redistributions in binary form must reproduce the above | |
| 14 | copyright notice, this list of conditions and the following disclaimer | |
| 15 | in the documentation and/or other materials provided with the | |
| 16 | distribution. | |
| 17 | * Neither the name of Google Inc. nor the names of its | |
| 18 | contributors may be used to endorse or promote products derived from | |
| 19 | this software without specific prior written permission. | |
| 21 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
| 22 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
| 23 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
| 24 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | |
| 25 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
| 26 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | |
| 27 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | |
| 28 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | |
| 29 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
| 30 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |
| 31 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
| 82 | No msg class instance has been created before. |
RepeatedFieldIter.php
| Type | Line | Description |
|---|---|---|
| 3 | Protocol Buffers - Google's data interchange format | |
| 4 | Copyright 2008 Google Inc. All rights reserved. | |
| 5 | https://developers.google.com/protocol-buffers/ | |
| 7 | // Redistribution and use in source and binary forms, with or without | |
| 8 | modification, are permitted provided that the following conditions are | |
| 9 | met: | |
| 11 | // * Redistributions of source code must retain the above copyright | |
| 12 | notice, this list of conditions and the following disclaimer. | |
| 13 | * Redistributions in binary form must reproduce the above | |
| 14 | copyright notice, this list of conditions and the following disclaimer | |
| 15 | in the documentation and/or other materials provided with the | |
| 16 | distribution. | |
| 17 | * Neither the name of Google Inc. nor the names of its | |
| 18 | contributors may be used to endorse or promote products derived from | |
| 19 | this software without specific prior written permission. | |
| 21 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
| 22 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
| 23 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
| 24 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | |
| 25 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
| 26 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | |
| 27 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | |
| 28 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | |
| 29 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
| 30 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |
| 31 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
Location.php
| Type | Line | Description |
|---|---|---|
| 26 | 4, 3 | |
| 27 | 2, 7 | |
| 28 | 1 | |
| 64 | ) are | |
| 69 | Comment attached to foo. | |
| 70 | Comment attached to bar. | |
| 73 | Comment attached to baz. | |
| 74 | Another line attached to baz. | |
| 75 | Comment attached to qux. | |
| 77 | * // Another line attached to qux. | |
| 79 | Detached comment for corge. This is not leading or trailing comments | |
| 80 | to qux or corge because there are blank lines separating it from | |
| 81 | both. | |
| 82 | Detached comment for corge paragraph 2. | |
| 90 | ignored detached comments. | |
| 118 | 4, 3 | |
| 119 | 2, 7 | |
| 120 | 1 | |
| 148 | ) are | |
| 153 | Comment attached to foo. | |
| 154 | Comment attached to bar. | |
| 157 | Comment attached to baz. | |
| 158 | Another line attached to baz. | |
| 159 | Comment attached to qux. | |
| 161 | * // Another line attached to qux. | |
| 163 | Detached comment for corge. This is not leading or trailing comments | |
| 164 | to qux or corge because there are blank lines separating it from | |
| 165 | both. | |
| 166 | Detached comment for corge paragraph 2. | |
| 174 | ignored detached comments. | |
| 192 | 4, 3 | |
| 193 | 2, 7 | |
| 194 | 1 | |
| 223 | 4, 3 | |
| 224 | 2, 7 | |
| 225 | 1 | |
| 294 | ) are | |
| 299 | Comment attached to foo. | |
| 300 | Comment attached to bar. | |
| 303 | Comment attached to baz. | |
| 304 | Another line attached to baz. | |
| 305 | Comment attached to qux. | |
| 307 | * // Another line attached to qux. | |
| 309 | Detached comment for corge. This is not leading or trailing comments | |
| 310 | to qux or corge because there are blank lines separating it from | |
| 311 | both. | |
| 312 | Detached comment for corge paragraph 2. | |
| 320 | ignored detached comments. | |
| 350 | ) are | |
| 355 | Comment attached to foo. | |
| 356 | Comment attached to bar. | |
| 359 | Comment attached to baz. | |
| 360 | Another line attached to baz. | |
| 361 | Comment attached to qux. | |
| 363 | * // Another line attached to qux. | |
| 365 | Detached comment for corge. This is not leading or trailing comments | |
| 366 | to qux or corge because there are blank lines separating it from | |
| 367 | both. | |
| 368 | Detached comment for corge paragraph 2. | |
| 376 | ignored detached comments. | |
| 446 | Adding a class alias for backwards compatibility with the previous class name. |
NamePart.php
| Type | Line | Description |
|---|---|---|
| 114 | Adding a class alias for backwards compatibility with the previous class name. |
Mixin.php
| Type | Line | Description |
|---|---|---|
| 28 | Get the underlying ACL object. | |
| 36 | Get a data record. | |
| 52 | Get the underlying ACL object. | |
| 68 | Get the underlying ACL object. |
OneofDescriptor.php
| Type | Line | Description |
|---|---|---|
| 3 | Protocol Buffers - Google's data interchange format | |
| 4 | Copyright 2017 Google Inc. All rights reserved. | |
| 5 | https://developers.google.com/protocol-buffers/ | |
| 7 | // Redistribution and use in source and binary forms, with or without | |
| 8 | modification, are permitted provided that the following conditions are | |
| 9 | met: | |
| 11 | // * Redistributions of source code must retain the above copyright | |
| 12 | notice, this list of conditions and the following disclaimer. | |
| 13 | * Redistributions in binary form must reproduce the above | |
| 14 | copyright notice, this list of conditions and the following disclaimer | |
| 15 | in the documentation and/or other materials provided with the | |
| 16 | distribution. | |
| 17 | * Neither the name of Google Inc. nor the names of its | |
| 18 | contributors may be used to endorse or promote products derived from | |
| 19 | this software without specific prior written permission. | |
| 21 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
| 22 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
| 23 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
| 24 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | |
| 25 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
| 26 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | |
| 27 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | |
| 28 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | |
| 29 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
| 30 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |
| 31 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
Timestamp.php
| Type | Line | Description |
|---|---|---|
| 19 | developers.google.com/time/smear). | |
| 22 | www.ietf.org/rfc/rfc3339.txt) date strings. | |
| 38 | A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z | |
| 39 | is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. | |
| 57 | www.ietf.org/rfc/rfc3339.txt) format. That is, the | |
| 70 | developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) | |
| 73 | docs.python.org/2/library/time.html#time.strftime) with | |
| 76 | www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D |
AbstractCall.php
| Type | Line | Description |
|---|---|---|
| 10 | www.apache.org/licenses/LICENSE-2.0 | |
| 116 | Proto3 implementation |
BaseStub.php
| Type | Line | Description |
|---|---|---|
| 10 | www.apache.org/licenses/LICENSE-2.0 | |
| 33 | a callback function | |
| 69 | If the grpc_call_invoker is defined, use the channel created by the call invoker. | |
| 98 | for grpc/grpc-php subpackage | |
| 162 | state has changed before deadline | |
| 168 | deadline has passed | |
| 209 | TODO(jtattermusch): This is not the correct implementation | |
| 210 | of extracting JWT "aud" claim. We should rely on | |
| 211 | grpc_metadata_credentials_plugin which | |
| 212 | also provides the correct value of "aud" claim | |
| 213 | in the grpc_auth_metadata_context.service_url field. | |
| 214 | Trying to do the construction of "aud" field ourselves | |
| 215 | is bad. | |
| 230 | Remove the port if it is 443 | |
| 231 | See https://github.com/grpc/grpc/blob/07c9f7a36b2a0d34fcffebc85649cf3b8c339b5d/src/core/lib/security/transport/client_auth_filter.cc#L205 | |
| 236 | '.$hostname.$service_name; |
BidiStreamingCall.php
| Type | Line | Description |
|---|---|---|
| 10 | www.apache.org/licenses/LICENSE-2.0 |
CallInvoker.php
| Type | Line | Description |
|---|---|---|
| 10 | www.apache.org/licenses/LICENSE-2.0 |
ClientStreamingCall.php
| Type | Line | Description |
|---|---|---|
| 10 | www.apache.org/licenses/LICENSE-2.0 |
DefaultCallInvoker.php
| Type | Line | Description |
|---|---|---|
| 10 | www.apache.org/licenses/LICENSE-2.0 |
Interceptor.php
| Type | Line | Description |
|---|---|---|
| 10 | www.apache.org/licenses/LICENSE-2.0 | |
| 25 | github.com/grpc/proposal/pull/86. |
InterceptorChannel.php
| Type | Line | Description |
|---|---|---|
| 10 | www.apache.org/licenses/LICENSE-2.0 |
MethodDescriptor.php
| Type | Line | Description |
|---|---|---|
| 10 | www.apache.org/licenses/LICENSE-2.0 |
RpcServer.php
| Type | Line | Description |
|---|---|---|
| 10 | www.apache.org/licenses/LICENSE-2.0 | |
| 35 | [ <String method_full_path> => MethodDescriptor ] | |
| 65 | This blocks until the server receives a request | |
| 110 | Dispatch to actual server logic |
ServerCallReader.php
| Type | Line | Description |
|---|---|---|
| 10 | www.apache.org/licenses/LICENSE-2.0 |
ServerCallWriter.php
| Type | Line | Description |
|---|---|---|
| 10 | www.apache.org/licenses/LICENSE-2.0 | |
| 80 | ////////////////////////// |
ServerContext.php
| Type | Line | Description |
|---|---|---|
| 10 | www.apache.org/licenses/LICENSE-2.0 |
ServerStreamingCall.php
| Type | Line | Description |
|---|---|---|
| 10 | www.apache.org/licenses/LICENSE-2.0 |
Status.php
| Type | Line | Description |
|---|---|---|
| 10 | www.apache.org/licenses/LICENSE-2.0 |
UnaryCall.php
| Type | Line | Description |
|---|---|---|
| 10 | www.apache.org/licenses/LICENSE-2.0 |
Client.php
| Type | Line | Description |
|---|---|---|
| 38 | www.foo.com/1.0/', | |
| 70 | Convert the base_uri to a UriInterface | |
| 108 | Merge the base URI into the request URI if needed. | |
| 149 | Remove request modifying parameter because it can be done up-front. | |
| 153 | Merge the URI into the base URI. | |
| 159 | Remove the option so that they are not doubly-applied. | |
| 210 | for BC we accept null which would otherwise fail in uri_for | |
| 242 | Use the standard Linux HTTP_PROXY and HTTPS_PROXY if set. | |
| 244 | We can only trust the HTTP_PROXY environment variable in a CLI | |
| 245 | process due to the fact that PHP has no reliable mechanism to | |
| 246 | get environment variables that start with "HTTP_". | |
| 266 | Add the default user-agent header. | |
| 270 | Add the User-Agent header if one was not already set. | |
| 292 | Default headers are only added if they are not present. | |
| 297 | Special handling for headers is required as they are added as | |
| 298 | conditional headers and as headers passed to a request ctor. | |
| 300 | Allows default headers to be unset. | |
| 309 | Shallow merge defaults underneath options. | |
| 312 | Remove null values. | |
| 334 | save_to -> sink | |
| 340 | exceptions -> http_errors | |
| 386 | Ensure that we don't have the header in different case and set the new value. | |
| 399 | Ensure that we don't have the header in different case and set the new value. | |
| 407 | Ensure that we don't have the header in different case and set the new value. | |
| 425 | Ensure that we don't have the header in different case and set the new value. | |
| 431 | @todo: Do not rely on curl | |
| 454 | Ensure that sink is not an invalid value. | |
| 456 | TODO: Add more sink validation? | |
| 464 | Use a multipart/form-data POST if a Content-Type is not set. | |
| 465 | Ensure that we don't have the header in different case and set the new value. | |
| 471 | Merge in conditional headers if they are not present. | |
| 473 | Build up the changes so it's in a single clone of the message. | |
| 481 | Don't pass this internal value along to middleware/handlers. |
CookieJar.php
| Type | Line | Description |
|---|---|---|
| 97 | don't allow a non string name | |
| 161 | If the name string is empty (but not 0), ignore the set-cookie | |
| 162 | string entirely. | |
| 168 | Only allow cookies with set and valid domain, name, value | |
| 179 | Resolve conflicts with previously set cookies | |
| 182 | Two cookies are identical, when their path, and domain are | |
| 183 | identical. | |
| 191 | The previously set cookie is a discard cookie and this one is | |
| 192 | not so allow the new cookie to be set | |
| 198 | If the new cookie's expiration is further into the future, then | |
| 199 | replace the old cookie | |
| 205 | If the value has changed, we better change it | |
| 211 | The cookie exists, so no need to continue | |
| 251 | tools.ietf.org/html/rfc6265#section-5.1.4 |
CookieJarInterface.php
| Type | Line | Description |
|---|---|---|
| 15 | docs.python.org/2/library/cookielib.html Inspiration |
SetCookie.php
| Type | Line | Description |
|---|---|---|
| 34 | Create the default return array | |
| 36 | Explode the cookie string using a series of semicolons | |
| 38 | The name of the cookie (first kvp) must exist and include an equal sign. | |
| 43 | Add the cookie pieces into the parsed data array | |
| 51 | Only check for non-cookies when cookies have been found | |
| 75 | Extract the Expires value and turn it into a UNIX timestamp if needed | |
| 77 | Calculate the Expires date | |
| 308 | Match on exact matches or when path is the default empty "/" | |
| 313 | Ensure that the cookie-path is a prefix of the request path. | |
| 318 | Match if the last character of the cookie-path is "/" | |
| 323 | Match if the first character not included in cookie path is "/" | |
| 336 | Remove the leading '.' as per spec in RFC 6265. | |
| 337 | http://tools.ietf.org/html/rfc6265#section-5.2.3 | |
| 340 | Domain not set or exact match. | |
| 345 | Matching the subdomain according to RFC 6265. | |
| 346 | http://tools.ietf.org/html/rfc6265#section-5.1.3 | |
| 371 | Names must not be empty, but can be 0 | |
| 377 | Check if any of the invalid characters are present in the cookie name | |
| 387 | Value must not be empty, but can be 0 | |
| 393 | Domains must not be empty, but can be 0 | |
| 394 | A "0" is not a valid internet domain, but may be used as server name | |
| 395 | in a private network. |
RequestException.php
| Type | Line | Description |
|---|---|---|
| 30 | Set the code of the exception if the response is set and not future. | |
| 96 | Client Error: `GET /` resulted in a `404 Not Found` response: | |
| 97 | <html> ... (truncated) |
functions.php
| Type | Line | Description |
|---|---|---|
| 20 | @codeCoverageIgnoreStart | |
| 22 | @codeCoverageIgnoreEnd | |
| 51 | normalize float vs double | |
| 92 | output', 'w'); | |
| 164 | Red Hat, CentOS, Fedora (provided by the ca-certificates package) | |
| 166 | Ubuntu, Debian (provided by the ca-certificates package) | |
| 168 | FreeBSD (provided by the ca_root_nss package) | |
| 170 | SLES 12 (provided by the ca-certificates package) | |
| 172 | OS X provided by homebrew (using the default path) | |
| 174 | Google app engine | |
| 176 | Windows? | |
| 205 | docs.guzzlephp.org/en/latest/clients.html#verify. If you do not | |
| 208 | raw.githubusercontent.com/bagder/ca-bundle/master/ca-bundle.crt. Once | |
| 211 | curl.haxx.se/docs/sslcerts.html for more | |
| 260 | Strip port if present. | |
| 266 | Always match on wildcards. | |
| 270 | Don't match on empty values. | |
| 273 | Exact matches. | |
| 276 | Special match if the area when prefixed with ".". Remove any | |
| 277 | existing leading "." and add a new leading ".". | |
| 299 | www.php.net/manual/en/function.json-decode.php | |
| 322 | www.php.net/manual/en/function.json-encode.php |
functions_include.php
| Type | Line | Description |
|---|---|---|
| 3 | Don't redefine the functions if included multiple times. |
CurlFactory.php
| Type | Line | Description |
|---|---|---|
| 50 | Add handler options from the request configuration options | |
| 72 | Remove all callback functions as they can hold onto references | |
| 73 | and are not cleaned up by curl_reset. Using curl_setopt_array | |
| 74 | does not work for some reason, so removing each one | |
| 75 | individually. | |
| 108 | Return the response if it is present and there is no error. | |
| 111 | Rewind the body of the response if possible. | |
| 139 | Get error information and release the handle to the factory. | |
| 148 | Retry when nothing is present or when curl failed to rewind. | |
| 168 | If an exception was encountered during the onHeaders event, then | |
| 169 | return a rejected promise that wraps that exception. | |
| 186 | curl.haxx.se/libcurl/c/libcurl-errors.html' | |
| 193 | curl.haxx.se/libcurl/c/libcurl-errors.html', | |
| 198 | Create a connection exception if it was a specific error code. | |
| 245 | See http://tools.ietf.org/html/rfc7230#section-3.3.2 | |
| 266 | Send the body as a string if the size is less than 1MB OR if the | |
| 267 | [curl][body_as_string] request value is set. | |
| 272 | Don't duplicate the Content-Length header | |
| 290 | If the Expect header is not present, prevent curl from adding it | |
| 295 | cURL sometimes adds a content-type by default. Prevent this. | |
| 307 | cURL requires a special format for empty headers. | |
| 308 | See https://github.com/guzzle/guzzle/issues/1882 for more details. | |
| 316 | Remove the Accept header if one was not set | |
| 350 | Throw an error if the file/folder/link path is not valid or doesn't exist. | |
| 356 | If it's a directory or a link to a directory use CURLOPT_CAPATH. | |
| 357 | If not, it's probably a file, or a link to a file, so use CURLOPT_CAINFO. | |
| 374 | Don't let curl send the header over the wire | |
| 384 | Ensure that the directory exists before failing in curl. | |
| 398 | Use a default temp stream if no sink was set. | |
| 399 | temp', 'w+'); | |
| 408 | CURL default value is CURL_IPRESOLVE_WHATEVER | |
| 485 | PHP 5.5 pushed the handle onto the start of the args | |
| 514 | Only rewind if the body has been read from. | |
| 527 | Retry no more than 3 times before giving up. | |
| 536 | bugs.php.net/bug.php?id=47204 for more information.'; | |
| 570 | Associate the exception with the handle and trigger | |
| 571 | a curl header write error by returning 0. |
CurlMultiHandler.php
| Type | Line | Description |
|---|---|---|
| 61 | A warning is raised in case of a wrong option. | |
| 65 | Further calls to _mh will return the value directly, without entering the | |
| 66 | __get() method at all. | |
| 103 | Add any delayed handles if needed. | |
| 117 | Step through the task queue which may add additional requests. | |
| 123 | Perform a usleep if a select returns -1. | |
| 124 | See: https://bugs.php.net/bug.php?id=61141 | |
| 141 | If there are no transfers, then sleep for the next delay | |
| 170 | Cannot cancel if it has been processed. | |
| 190 | Probably was cancelled. |
EasyHandle.php
| Type | Line | Description |
|---|---|---|
| 51 | HTTP-version SP status-code SP reason-phrase | |
| 75 | Attach a response to the easy handle with the parsed headers. |
StreamHandler.php
| Type | Line | Description |
|---|---|---|
| 32 | Sleep if there is a delay specified. | |
| 40 | Does not support the expect header. | |
| 43 | Append a content-length header if body size is zero to match | |
| 44 | cURL's behavior. | |
| 58 | Determine if the error was a networking error. | |
| 60 | This list can probably get more comprehensive. | |
| 61 | DNS lookup failed | |
| 63 | error on HHVM | |
| 127 | Do not drain when the request is a HEAD request because they have | |
| 128 | no body. | |
| 150 | temp', 'r+'); | |
| 159 | Automatically decode responses when instructed. | |
| 170 | Remove content-encoding header | |
| 172 | Fix content-length header | |
| 207 | If a content-length header is provided, then stop reading once | |
| 208 | that number of bytes has been read. This can prevent infinitely | |
| 209 | reading from a stream when dealing with servers that do not honor | |
| 210 | Connection: Close headers. | |
| 266 | HTTP/1.1 streams using the PHP stream wrapper require a | |
| 267 | Connection: close header | |
| 274 | Ensure SSL is verified by default | |
| 305 | Microsoft NTLM authentication only supported with curl handler | |
| 397 | Prevent the HTTP handler from adding a Content-Type header. | |
| 437 | PHP 5.6 or greater will find the system cert by default. When | |
| 438 | < 5.6, use the Guzzle bundled cacert. | |
| 525 | Wrap the existing function if needed. |
MessageFormatter.php
| Type | Line | Description |
|---|---|---|
| 39 | httpd.apache.org/docs/2.4/logs.html#common | |
| 154 | handle prefixed dynamic headers |
Pool.php
| Type | Line | Description |
|---|---|---|
| 40 | Backwards compatibility. |
PrepareBodyMiddleware.php
| Type | Line | Description |
|---|---|---|
| 35 | Don't do anything if the request has no body. | |
| 42 | Add a default content-type if possible. | |
| 51 | Add a default content-length or transfer-encoding header. | |
| 63 | Add the expect header if needed. | |
| 79 | Determine if the Expect header should be used | |
| 86 | Return if disabled or if you're not using HTTP/1.1 or HTTP/2.0 | |
| 91 | The expect header is unconditionally enabled | |
| 97 | By default, send the expect header when the payload is > 1mb | |
| 102 | Always add if the body cannot be rewound, the size cannot be | |
| 103 | determined, or the size is greater than the cutoff threshold |
RedirectMiddleware.php
| Type | Line | Description |
|---|---|---|
| 62 | Merge the default settings with the provided settings | |
| 109 | Add headers to be able to track history of redirects. | |
| 130 | Note that we are pushing to the front of the list as this | |
| 131 | would be an earlier response than what is currently present | |
| 132 | in the history header. | |
| 178 | Request modifications to apply. | |
| 182 | Use a GET request if this is an entity enclosing request and we are | |
| 183 | not forcing RFC compliance, but rather emulating what all browsers | |
| 184 | would do. | |
| 202 | Add the Referer header if it is told to do so and only | |
| 203 | add the header if we are not redirecting from https to http. | |
| 213 | Remove Authorization header if host is different. | |
| 240 | Ensure that the redirect URI is allowed based on the protocols. |
RequestOptions.php
| Type | Line | Description |
|---|---|---|
| 7 | guzzlephp.org/. | |
| 9 | docs.guzzlephp.org/en/v6/request-options.html |
UriTemplate.php
| Type | Line | Description |
|---|---|---|
| 7 | tools.ietf.org/html/rfc6570 | |
| 141 | Nested arrays must allow for deeply nested | |
| 142 | structures. | |
| 163 | Don't prepend the value name when using the explode | |
| 164 | modifier with an associative array. | |
| 169 | When an associative array is encountered and the | |
| 170 | explode modifier is not set, then the result must be | |
| 171 | a comma separated list of keys followed by their | |
| 172 | respective values. |
Utils.php
| Type | Line | Description |
|---|---|---|
| 57 | Replace URI only if the ASCII version is different |
Coroutine.php
| Type | Line | Description |
|---|---|---|
| 31 | The promise was rejected. | |
| 36 | Outputs "abc" | |
| 43 | github.com/petkaantonov/bluebird/blob/master/API.md#generators inspiration | |
| 161 | The throw was caught, so keep iterating on the coroutine |
Create.php
| Type | Line | Description |
|---|---|---|
| 20 | Return a Guzzle promise that shadows the given promise. |
EachPromise.php
| Type | Line | Description |
|---|---|---|
| 111 | Consume a potentially fluctuating list of promises while | |
| 112 | ensuring that indexes are maintained (precluding array_shift). | |
| 122 | Clear the references when the promise is resolved. | |
| 135 | Add all pending promises. | |
| 140 | Add only up to N pending promises. | |
| 145 | Concurrency may be set to 0 to disallow new promises. | |
| 149 | Add the first pending promise. | |
| 151 | Note this is special handling for concurrency=1 so that we do | |
| 152 | not advance the iterator after adding the first promise. This | |
| 153 | helps work around issues with generators that might not have the | |
| 154 | next value to yield until promise callbacks are called. | |
| 169 | Iterable keys may not be unique, so we use a counter to | |
| 170 | guarantee uniqueness | |
| 203 | Place a lock on the iterator so that we ensure to not recurse, | |
| 204 | preventing fatal generator errors. | |
| 228 | If the promise was already resolved, then ignore this step. | |
| 235 | Only refill pending promises if we are not locked, preventing the | |
| 236 | EachPromise to recursively invoke the provided iterator, which | |
| 237 | cause a fatal error: "Cannot resume an already running generator" | |
| 239 | Add more pending promises if possible. | |
| 247 | Resolve the promise if there's nothing left to do. |
FulfilledPromise.php
| Type | Line | Description |
|---|---|---|
| 30 | Return itself if there is no onFulfilled function. | |
| 82 | pass |
functions_include.php
| Type | Line | Description |
|---|---|---|
| 3 | Don't redefine the functions if included multiple times. |
Promise.php
| Type | Line | Description |
|---|---|---|
| 8 | promisesaplus.com/ | |
| 43 | Return a fulfilled promise and immediately invoke any callbacks. | |
| 49 | It's either cancelled or rejected, so return a rejected promise | |
| 50 | and immediately invoke any callbacks. | |
| 71 | It's rejected so "unwrap" and throw an exception. | |
| 101 | Reject the promise only if it wasn't rejected in a then callback. | |
| 121 | Ignore calls with the same resolution. | |
| 134 | Clear out the state of the promise but stash the handlers. | |
| 146 | If the value was not a settled promise or a thenable, then resolve | |
| 147 | it in the task queue using the correct ID. | |
| 150 | It's a success, so resolve the handlers in the queue. | |
| 157 | We can just merge our handlers onto the next promise. | |
| 160 | Resolve the handlers when the forwarded promise is resolved. | |
| 188 | The promise may have been cancelled or resolved before placing | |
| 189 | this thunk in the queue. | |
| 206 | Forward resolution values as-is. | |
| 209 | Forward rejections down the chain. | |
| 228 | If there's no wait function, then reject the promise. | |
| 251 | The promise has not been resolved yet, so reject the promise | |
| 252 | with the exception. | |
| 255 | The promise was already resolved, so there's a problem in | |
| 256 | the application. |
PromiseInterface.php
| Type | Line | Description |
|---|---|---|
| 12 | promisesaplus.com/ | |
| 77 | github.com/promises-aplus/cancellation-spec/issues/7 |
RejectedPromise.php
| Type | Line | Description |
|---|---|---|
| 30 | If there's no onRejected callback then just return self. | |
| 41 | Return a resolved promise if onRejected does not throw. | |
| 44 | onRejected threw, so return a rejected promise. | |
| 47 | onRejected threw, so return a rejected promise. | |
| 89 | pass |
TaskQueue.php
| Type | Line | Description |
|---|---|---|
| 24 | Only run the tasks if an E_ERROR didn't occur. |
AppendStream.php
| Type | Line | Description |
|---|---|---|
| 57 | The stream is only seekable if all streams are seekable | |
| 163 | Rewind each stream | |
| 173 | Seek to the actual position by reading from each stream | |
| 196 | Progress to the next stream if needed. | |
| 207 | Using a loose comparison here to match on '', false, and null |
BufferStream.php
| Type | Line | Description |
|---|---|---|
| 107 | No need to slice the buffer because we don't have enough data. | |
| 111 | Slice up the result to provide a subset of the buffer. | |
| 126 | TODO: What should happen here? |
CachingStream.php
| Type | Line | Description |
|---|---|---|
| 34 | temp', 'r+')); | |
| 66 | Read the remoteStream until we have read in at least the amount | |
| 67 | of bytes requested, or we reach the end of the file. | |
| 73 | We can just do a normal seek since we've already seen this byte. | |
| 80 | Perform a regular read on any previously read data from the buffer | |
| 84 | More data was requested so read from the remote stream | |
| 86 | If data was written to the buffer in a position that would have | |
| 87 | been filled from the remote stream, then we must skip bytes on | |
| 88 | the remote stream to emulate overwriting bytes from that | |
| 89 | position. This mimics the behavior of other PHP stream wrappers. | |
| 109 | When appending to the end of the currently read stream, you'll want | |
| 110 | to skip bytes from being read from the remote stream to emulate | |
| 111 | other stream wrappers. Basically replacing bytes of data of a fixed | |
| 112 | length. |
DroppingStream.php
| Type | Line | Description |
|---|---|---|
| 33 | Begin returning 0 when the underlying stream is too large. | |
| 38 | Write the stream or a subset of the stream if needed. |
FnStream.php
| Type | Line | Description |
|---|---|---|
| 32 | Create the functions on the class | |
| 80 | If any of the required methods were not provided, then simply | |
| 81 | proxy to the decorated stream. |
functions.php
| Type | Line | Description |
|---|---|---|
| 346 | svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x/conf/mime.types |
functions_include.php
| Type | Line | Description |
|---|---|---|
| 3 | Don't redefine the functions if included multiple times. |
InflateStream.php
| Type | Line | Description |
|---|---|---|
| 15 | tools.ietf.org/html/rfc1952 | |
| 16 | php.net/manual/en/filters.compression.php | |
| 26 | read the first 10 bytes, ie. gzip header | |
| 29 | Skip the header, that is 10 + length of filename + 1 (nil) bytes | |
| 47 | we have a filename, read until nil |
LimitStream.php
| Type | Line | Description |
|---|---|---|
| 41 | Always return true if the underlying stream is EOF | |
| 46 | No limit and the underlying stream is not at EOF | |
| 115 | If the stream cannot seek to the offset position, then read to it | |
| 146 | Check if the current position is less than the total allowed | |
| 147 | bytes + original offset | |
| 150 | Only return the amount of requested data, ensuring that the byte | |
| 151 | limit is not exceeded |
Message.php
| Type | Line | Description |
|---|---|---|
| 79 | Matches any printable character, including unicode characters: | |
| 80 | letters, marks, numbers, punctuation, spacing, and separators. | |
| 133 | Put back the delimiter we split previously | |
| 143 | Header folding is deprecated for HTTP/1.1, but allowed in HTTP/1.0 | |
| 150 | If these aren't the same, then one line didn't match and there's an invalid header. | |
| 152 | Folding is deprecated, see https://tools.ietf.org/html/rfc7230#section-3.2.4 | |
| 187 | If no host is found, then a full URI cannot be constructed. | |
| 195 | ' . $host . '/' . ltrim($path, '/'); | |
| 236 | According to https://tools.ietf.org/html/rfc7230#section-3.1.2 the space | |
| 237 | between status-code and reason-phrase is required. But browsers accept | |
| 238 | responses without space and reason as well. |
MessageTrait.php
| Type | Line | Description |
|---|---|---|
| 143 | Numeric array keys are converted to int by PHP but having a header name '123' is not forbidden by the spec | |
| 144 | and also allowed in withHeader(). So we need to cast it to string again for the following assertion to pass. | |
| 185 | tools.ietf.org/html/rfc7230#section-3.2.4 |
MimeType.php
| Type | Line | Description |
|---|---|---|
| 26 | svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x/conf/mime.types |
MultipartStream.php
| Type | Line | Description |
|---|---|---|
| 76 | Add the trailing boundary with CRLF | |
| 94 | ') { | |
| 116 | Set a default content-disposition header if one was no provided | |
| 128 | Set a default content-length header if one was no provided | |
| 136 | Set a default Content-Type if one was not supplied |
Request.php
| Type | Line | Description |
|---|---|---|
| 141 | Ensure Host is the first header. | |
| 142 | See: http://tools.ietf.org/html/rfc7230#section-5.4 |
Rfc7230.php
| Type | Line | Description |
|---|---|---|
| 13 | github.com/amphp/http/blob/v1.0.1/src/Rfc7230.php#L12-L15 | |
| 15 | github.com/amphp/http/blob/v1.0.1/LICENSE |
ServerRequest.php
| Type | Line | Description |
|---|---|---|
| 175 | input', 'r+')); | |
| 189 | ' . $authority; |
Stream.php
| Type | Line | Description |
|---|---|---|
| 19 | php.net/manual/function.fopen.php | |
| 20 | php.net/manual/en/function.gzopen.php | |
| 138 | Clear the stat cache if the stream has a URI | |
| 245 | We can't know the size after writing anything |
StreamDecoratorTrait.php
| Type | Line | Description |
|---|---|---|
| 48 | Really, PHP? https://bugs.php.net/bug.php?id=53648 | |
| 72 | Always return the wrapped object if the result is a return $this |
StreamWrapper.php
| Type | Line | Description |
|---|---|---|
| 45 | stream', $mode, null, self::createStreamContext($stream)); |
UploadedFile.php
| Type | Line | Description |
|---|---|---|
| 248 | php.net/is_uploaded_file | |
| 249 | php.net/move_uploaded_file | |
| 301 | php.net/manual/en/features.file-upload.errors.php |
Uri.php
| Type | Line | Description |
|---|---|---|
| 68 | weak type check to also accept null until we can add scalar type hints | |
| 87 | bugs.php.net/bug.php?id=52923 | |
| 88 | www.php.net/manual/en/function.parse-url.php#114817 | |
| 89 | curl.haxx.se/libcurl/c/CURLOPT_URL.html#ENCODING | |
| 97 | If IPv6 | |
| 99 | \[[0-9:a-f]+\])(.*?)$%', $url, $matches)) { | |
| 144 | /myfile` but not with `file:/myfile` although they are equivalent according to RFC 3986. But | |
| 145 | /` is the more common syntax for the file scheme anyway (Chrome for example redirects to | |
| 156 | tools.ietf.org/html/rfc3986#section-5.3 | |
| 162 | weak type checks to also accept null until we can add scalar type hints | |
| 168 | ' . $authority; | |
| 206 | example.com/path' | |
| 217 | tools.ietf.org/html/rfc3986#section-4 | |
| 233 | tools.ietf.org/html/rfc3986#section-4.2 | |
| 249 | tools.ietf.org/html/rfc3986#section-4.2 | |
| 268 | tools.ietf.org/html/rfc3986#section-4.2 | |
| 289 | tools.ietf.org/html/rfc3986#section-4.4 | |
| 410 | php.net/manual/en/function.parse-url.php | |
| 719 | Query string separators ("=", "&") within the key or value need to be encoded | |
| 720 | (while preventing double-encoding) before setting the query string. All other | |
| 721 | chars that need percent-encoding will be encoded by withQuery(). | |
| 794 | ')) { | |
| 795 | "'); | |
| 807 | throw new \InvalidArgumentException('The path of a URI with an authority must start with a slash "/" or be empty'); |
UriNormalizer.php
| Type | Line | Description |
|---|---|---|
| 12 | tools.ietf.org/html/rfc3986#section-6 | |
| 27 | example.org/a%c2%b1b → http://example.org/a%C2%B1b | |
| 38 | example.org/%7Eusern%61me/ → http://example.org/~username/ | |
| 45 | example.org → http://example.org/ | |
| 53 | /myfile`, and `file://localhost/myfile` | |
| 58 | localhost/myfile → file:///myfile | |
| 65 | example.org:80/ → http://example.org/ | |
| 75 | example.org/../a/b/../c/./d.html → http://example.org/a/c/d.html | |
| 86 | example.org//foo///bar.html → http://example.org/foo/bar.html | |
| 119 | tools.ietf.org/html/rfc3986#section-6.2 | |
| 150 | ++#', '/', $uri->getPath())); | |
| 176 | tools.ietf.org/html/rfc3986#section-6.1 | |
| 217 | cannot be instantiated |
UriResolver.php
| Type | Line | Description |
|---|---|---|
| 12 | tools.ietf.org/html/rfc3986#section-5 | |
| 23 | tools.ietf.org/html/rfc3986#section-5.2.4 | |
| 44 | Re-add the leading slash if necessary for cases like "/.." | |
| 47 | Add the trailing slash if necessary | |
| 48 | If newPath is not empty, then $segment must be set and is the last segment from the foreach | |
| 63 | tools.ietf.org/html/rfc3986#section-5.2 | |
| 68 | we can simply return the same base URI instance for this same-document reference | |
| 124 | example.com/a/b/'); | |
| 125 | example.com/a/b/c')); // prints 'c'. | |
| 126 | example.com/a/x/y')); // prints '../x/y'. | |
| 127 | example.com/a/b/?q')); // prints '?q'. | |
| 128 | example.org/a/b/')); // prints '//example.org/a/b/'. | |
| 133 | prints 'c' as well | |
| 149 | As the target is already highly relative we return it as-is. It would be possible to resolve | |
| 150 | the target with `$target = self::resolve($base, $target);` and then try make it more relative | |
| 151 | by removing a duplicate query. But let's not do that automatically. | |
| 159 | We must remove the path before removing the authority because if the path starts with two slashes, the URI | |
| 160 | would turn invalid. And we also cannot set a relative path before removing the authority, as that is also | |
| 161 | invalid. | |
| 169 | Only the target fragment is left. And it must be returned even if base and target fragment are the same. | |
| 173 | If the base URI has a query but the target has none, we cannot return an empty path reference as it would | |
| 174 | inherit the base query component when resolving. | |
| 201 | A reference to am empty last segment or an empty first sub-segment must be prefixed with "./". | |
| 202 | This also applies to a segment with a colon character (e.g., "file:colon") that cannot be used | |
| 203 | as the first segment of a relative-path reference, as it would be mistaken for a scheme name. | |
| 208 | In this case an extra slash is added by resolve() automatically. So we must not add one here. | |
| 220 | cannot be instantiated |
Utils.php
| Type | Line | Description |
|---|---|---|
| 90 | Using a loose equality here to match on '' and false. | |
| 102 | Using a loose equality here to match on '' and false. | |
| 177 | Remove the host header if one is on the URI | |
| 253 | Using a loose equality here to match on '' and false. | |
| 258 | Break when a new line is found or the max length - 1 is reached | |
| 306 | temp', 'r+'); | |
| 317 | input' is a special stream with quirks and inconsistencies. | |
| 318 | temp | |
| 321 | input') { | |
| 322 | temp', 'w+'); | |
| 345 | temp', 'r+'), $options); |
Manager.php
| Type | Line | Description |
|---|---|---|
| 147 | The argument isn't defined if it's not defined by the calling code. |
Parser.php
| Type | Line | Description |
|---|---|---|
| 66 | After parsing find out which arguments were required but not | |
| 67 | defined on the command line. | |
| 157 | Send un-parsed arguments back upstream. | |
| 186 | Look for arguments defined in the "key=value" format. | |
| 191 | If the argument isn't in "key=value" format then assume it's in | |
| 192 | "key value" format and define the value after we've found the | |
| 193 | matching CLImate argument. | |
| 211 | Look for the argument in our defined $arguments | |
| 212 | and assign their value. | |
| 217 | We found an argument key, so take it out of the array. | |
| 235 | Arguments are given the value true if they only need to | |
| 236 | be defined on the command line to be set. | |
| 247 | If the value wasn't previously defined in "key=value" | |
| 248 | format then define it from the next command argument. | |
| 299 | If no $argv is provided then use the global PHP defined $argv. |
Summary.php
| Type | Line | Description |
|---|---|---|
| 84 | Print the description if it's defined. | |
| 89 | Print the usage statement with the arguments without a prefix at the end. | |
| 93 | Print argument details. | |
| 126 | Print the argument name if it's not printed yet. |
CLImate.php
| Type | Line | Description |
|---|---|---|
| 291 | Check for type first to avoid errors with objects/arrays/etc | |
| 306 | If the name starts with this method string... | |
| 308 | ...remove the method name from the beginning of the string... | |
| 311 | ...and trim off any of those underscores hanging around | |
| 330 | Get all of the possible style attributes | |
| 335 | While we still have a name left and we keep finding methods, | |
| 336 | loop through the possibilities | |
| 353 | Loop through the possible methods | |
| 355 | See if we found a valid method | |
| 372 | Retrieve the parser for the current set of styles | |
| 375 | Reset the styles | |
| 378 | Execute the terminal object | |
| 397 | If we still have something left, let's figure out what it is | |
| 401 | If something was returned, return it | |
| 407 | Handle passthroughs to the arguments manager. | |
| 409 | If we can't find it at this point, let's fail gracefully | |
| 427 | Apply any style methods that we can find first | |
| 430 | The first argument is the string|array|object we want to echo out | |
| 434 | If we have something left, let's try and route it to the appropriate place | |
| 439 | If we have fulfilled all of the requested methods and we have output, output it |
Color.php
| Type | Line | Description |
|---|---|---|
| 69 | If we already have the code, just return that |
Command.php
| Type | Line | Description |
|---|---|---|
| 73 | Return the code because it is a string corresponding | |
| 74 | to a property in another class |
Format.php
| Type | Line | Description |
|---|---|---|
| 58 | If we already have the code, just return that |
Ansi.php
| Type | Line | Description |
|---|---|---|
| 49 | Reset everything back to normal up front | |
| 81 | If we didn't find anything, return the string right back | |
| 86 | All we want is the array of actual strings matched | |
| 103 | Let's keep a history of styles applied | |
| 125 | We will be replacing tags one at a time, can't pass this by reference | |
| 129 | We are closing out the tag, pop off the last element and get the codes that are left | |
| 133 | We are starting a new tag, add it onto the history and replace with correct color code | |
| 151 | If we get something that is already a code string, just pass it back | |
| 158 | Sort for the sake of consistency and testability |
Style.php
| Type | Line | Description |
|---|---|---|
| 160 | Plug it back in and see what we get | |
| 181 | Loop through it and add each of the properties | |
| 188 | If any of them came back true, we're good to go | |
| 266 | If we are adding a color, make sure it gets added | |
| 267 | as a background color too | |
| 283 | The only methods we are concerned about are 'add' methods |
Manager.php
| Type | Line | Description |
|---|---|---|
| 37 | If the current key doesn't exist in the settings array, set it up |
Columns.php
| Type | Line | Description |
|---|---|---|
| 68 | If it's already an array of arrays, we're good to go | |
| 144 | Return the maximum width plus a buffer |
Draw.php
| Type | Line | Description |
|---|---|---|
| 13 | Add the default art directory |
Table.php
| Type | Line | Description |
|---|---|---|
| 250 | We have an associative array (probably), let's have a header row | |
| 268 | Create an array with the columns as keys and values of zero |
Keyframe.php
| Type | Line | Description |
|---|---|---|
| 141 | Fail gracefully, simply return an array |
Animation.php
| Type | Line | Description |
|---|---|---|
| 25 | Add the default art directory | |
| 194 | If this is the first thing we're writing, just return the line | |
| 201 | If this is the first line of the frame, | |
| 202 | move the cursor up the total number of previous lines from the previous frame |
Checkboxes.php
| Type | Line | Description |
|---|---|---|
| 105 | Break the while loop as well | |
| 136 | Up arrow | |
| 141 | Down arrow |
Padding.php
| Type | Line | Description |
|---|---|---|
| 110 | Handle long labels by splitting them across several lines |
Progress.php
| Type | Line | Description |
|---|---|---|
| 103 | Avoid dividing by 0 | |
| 201 | Drop down a line, we are about to | |
| 202 | re-write this line for the progress bar | |
| 207 | Move the cursor up and clear it to the end | |
| 215 | If this line has a label then set that this progress bar has a label line | |
| 242 | If this line doesn't have a label, but we've had one before, | |
| 243 | then ensure the label line is cleared | |
| 274 | Subtract 10 because of the '> 100%' plus some padding, max 100 |
Art.php
| Type | Line | Description |
|---|---|---|
| 61 | Add any additional directories to the top of the array | |
| 62 | so that the user can override art | |
| 65 | Keep the array clean | |
| 128 | Look for anything that has the $art filename | |
| 136 | If we've got one, no need to look any further |
Router.php
| Type | Line | Description |
|---|---|---|
| 90 | If the object needs any settings, import them |
Output.php
| Type | Line | Description |
|---|---|---|
| 251 | If we've gotten this far and don't know what it is, | |
| 252 | let's at least try and give a helpful error message | |
| 258 | No idea, just tell them we can't resolve it | |
| 307 | Reset new line flag for next time | |
| 311 | Reset once since we only want to use it... once. |
Stdin.php
| Type | Line | Description |
|---|---|---|
| 89 | stdin', 'r'); |
Linux.php
| Type | Line | Description |
|---|---|---|
| 80 | github.com/symfony/symfony/blob/master/src/Symfony/Component/Console/Output/StreamOutput.php | |
| 101 | Check if formatted mode is S_IFCHR |
Windows.php
| Type | Line | Description |
|---|---|---|
| 66 | github.com/symfony/symfony/blob/master/src/Symfony/Component/Console/Output/StreamOutput.php |
AbstractCsv.php
| Type | Line | Description |
|---|---|---|
| 4 | csv.thephpleague.com) | |
| 387 | tools.ietf.org/html/rfc6266#section-4.3 |
ByteSequence.php
| Type | Line | Description |
|---|---|---|
| 4 | csv.thephpleague.com) |
CannotInsertRecord.php
| Type | Line | Description |
|---|---|---|
| 4 | csv.thephpleague.com) |
CharsetConverter.php
| Type | Line | Description |
|---|---|---|
| 4 | csv.thephpleague.com) |
ColumnConsistency.php
| Type | Line | Description |
|---|---|---|
| 4 | csv.thephpleague.com) |
EncloseField.php
| Type | Line | Description |
|---|---|---|
| 4 | csv.thephpleague.com) | |
| 31 | tools.ietf.org/html/rfc4180#section-2 | |
| 32 | bugs.php.net/bug.php?id=38301 |
EscapeFormula.php
| Type | Line | Description |
|---|---|---|
| 4 | csv.thephpleague.com) | |
| 29 | georgemauer.net/2017/10/07/csv-injection.html |
Exception.php
| Type | Line | Description |
|---|---|---|
| 4 | csv.thephpleague.com) |
functions.php
| Type | Line | Description |
|---|---|---|
| 4 | csv.thephpleague.com) |
functions_include.php
| Type | Line | Description |
|---|---|---|
| 4 | csv.thephpleague.com) |
HTMLConverter.php
| Type | Line | Description |
|---|---|---|
| 4 | csv.thephpleague.com) |
Info.php
| Type | Line | Description |
|---|---|---|
| 4 | csv.thephpleague.com) |
InvalidArgument.php
| Type | Line | Description |
|---|---|---|
| 4 | csv.thephpleague.com) |
MapIterator.php
| Type | Line | Description |
|---|---|---|
| 4 | csv.thephpleague.com) |
EmptyEscapeParser.php
| Type | Line | Description |
|---|---|---|
| 4 | csv.thephpleague.com) | |
| 32 | php.net/manual/en/function.fgetcsv.php | |
| 33 | php.net/manual/en/function.fgets.php | |
| 34 | tools.ietf.org/html/rfc4180 | |
| 35 | edoceo.com/utilitas/csv-file-format | |
| 88 | $record escape mechanism is blocked by the empty string | |
| 96 | parsing will be done while ignoring the escape character value. | |
| 98 | fgetcsv is not directly use hence the escape char is not taken into account |
Reader.php
| Type | Line | Description |
|---|---|---|
| 4 | csv.thephpleague.com) |
ResultSet.php
| Type | Line | Description |
|---|---|---|
| 4 | csv.thephpleague.com) |
RFC4180Field.php
| Type | Line | Description |
|---|---|---|
| 4 | csv.thephpleague.com) | |
| 39 | tools.ietf.org/html/rfc4180#section-2 |
Statement.php
| Type | Line | Description |
|---|---|---|
| 4 | csv.thephpleague.com) |
Stream.php
| Type | Line | Description |
|---|---|---|
| 4 | csv.thephpleague.com) | |
| 211 | temp', 'r+'); | |
| 231 | php.net/manual/en/function.stream-filter-append.php | |
| 249 | php.net/manual/en/SplFileObject.setcsvcontrol.php | |
| 281 | php.net/manual/en/SplFileObject.getcsvcontrol.php | |
| 293 | php.net/manual/en/SplFileObject.setflags.php | |
| 303 | php.net/manual/en/SplFileObject.fputcsv.php | |
| 317 | php.net/manual/en/SplFileObject.key.php | |
| 329 | php.net/manual/en/SplFileObject.next.php | |
| 340 | php.net/manual/en/SplFileObject.rewind.php | |
| 361 | php.net/manual/en/SplFileObject.valid.php | |
| 377 | php.net/manual/en/SplFileObject.current.php | |
| 410 | php.net/manual/en/SplFileObject.seek.php | |
| 437 | php.net/manual/en/SplFileObject.fpatssthru.php | |
| 449 | php.net/manual/en/SplFileObject.fread.php | |
| 463 | php.net/manual/en/SplFileObject.fgets.php | |
| 475 | php.net/manual/en/SplFileObject.fseek.php | |
| 491 | php.net/manual/en/SplFileObject.fwrite.php | |
| 508 | php.net/manual/en/SplFileObject.fwrite.php |
SyntaxError.php
| Type | Line | Description |
|---|---|---|
| 4 | csv.thephpleague.com) |
TabularDataReader.php
| Type | Line | Description |
|---|---|---|
| 4 | csv.thephpleague.com) |
UnableToProcessCsv.php
| Type | Line | Description |
|---|---|---|
| 4 | csv.thephpleague.com) |
UnavailableFeature.php
| Type | Line | Description |
|---|---|---|
| 4 | csv.thephpleague.com) |
UnavailableStream.php
| Type | Line | Description |
|---|---|---|
| 4 | csv.thephpleague.com) |
Writer.php
| Type | Line | Description |
|---|---|---|
| 4 | csv.thephpleague.com) | |
| 156 | php.net/manual/en/function.fputcsv.php | |
| 168 | php.net/manual/en/function.fputcsv.php | |
| 169 | php.net/manual/en/function.fwrite.php | |
| 170 | tools.ietf.org/html/rfc4180 | |
| 171 | edoceo.com/utilitas/csv-file-format |
XMLConverter.php
| Type | Line | Description |
|---|---|---|
| 4 | csv.thephpleague.com) |
AbstractGrant.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | thephpleague.com/oauth2-client/ Documentation | |
| 11 | packagist.org/packages/league/oauth2-client Packagist | |
| 12 | github.com/thephpleague/oauth2-client GitHub | |
| 29 | tools.ietf.org/html/rfc6749#section-1.3 Authorization Grant (RFC 6749, §1.3) |
AuthorizationCode.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | thephpleague.com/oauth2-client/ Documentation | |
| 11 | packagist.org/packages/league/oauth2-client Packagist | |
| 12 | github.com/thephpleague/oauth2-client GitHub | |
| 20 | tools.ietf.org/html/rfc6749#section-1.3.1 Authorization Code (RFC 6749, §1.3.1) |
ClientCredentials.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | thephpleague.com/oauth2-client/ Documentation | |
| 11 | packagist.org/packages/league/oauth2-client Packagist | |
| 12 | github.com/thephpleague/oauth2-client GitHub | |
| 20 | tools.ietf.org/html/rfc6749#section-1.3.4 Client Credentials (RFC 6749, §1.3.4) |
InvalidGrantException.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | thephpleague.com/oauth2-client/ Documentation | |
| 11 | packagist.org/packages/league/oauth2-client Packagist | |
| 12 | github.com/thephpleague/oauth2-client GitHub |
GrantFactory.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | thephpleague.com/oauth2-client/ Documentation | |
| 11 | packagist.org/packages/league/oauth2-client Packagist | |
| 12 | github.com/thephpleague/oauth2-client GitHub | |
| 68 | PascalCase the grant. E.g: 'authorization_code' becomes 'AuthorizationCode' |
Password.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | thephpleague.com/oauth2-client/ Documentation | |
| 11 | packagist.org/packages/league/oauth2-client Packagist | |
| 12 | github.com/thephpleague/oauth2-client GitHub | |
| 20 | tools.ietf.org/html/rfc6749#section-1.3.3 Resource Owner Password Credentials (RFC 6749, §1.3.3) |
RefreshToken.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | thephpleague.com/oauth2-client/ Documentation | |
| 11 | packagist.org/packages/league/oauth2-client Packagist | |
| 12 | github.com/thephpleague/oauth2-client GitHub | |
| 20 | tools.ietf.org/html/rfc6749#section-6 Refreshing an Access Token (RFC 6749, §6) |
HttpBasicAuthOptionProvider.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | thephpleague.com/oauth2-client/ Documentation | |
| 11 | packagist.org/packages/league/oauth2-client Packagist | |
| 12 | github.com/thephpleague/oauth2-client GitHub | |
| 21 | tools.ietf.org/html/rfc6749#section-2.3.1 |
OptionProviderInterface.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | thephpleague.com/oauth2-client/ Documentation | |
| 11 | packagist.org/packages/league/oauth2-client Packagist | |
| 12 | github.com/thephpleague/oauth2-client GitHub |
PostAuthOptionProvider.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | thephpleague.com/oauth2-client/ Documentation | |
| 11 | packagist.org/packages/league/oauth2-client Packagist | |
| 12 | github.com/thephpleague/oauth2-client GitHub |
AbstractProvider.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | thephpleague.com/oauth2-client/ Documentation | |
| 11 | packagist.org/packages/league/oauth2-client Packagist | |
| 12 | github.com/thephpleague/oauth2-client GitHub | |
| 38 | tools.ietf.org/html/rfc6749#section-1.1 Roles (RFC 6749, §1.1) | |
| 114 | We'll let the GuardedPropertyTrait handle mass assignment of incoming | |
| 115 | options, skipping any blacklisted properties defined in the provider | |
| 155 | Only allow turning off ssl verification if it's for a proxy | |
| 270 | oauth.service.com/authorize | |
| 279 | oauth.service.com/token | |
| 303 | Converting bytes to hex will always double length. Hence, we can reduce | |
| 304 | the amount of bytes by half to produce the correct length. | |
| 355 | Store the state as it may need to be accessed later on. | |
| 358 | Business code layer might set a different redirect_uri parameter | |
| 359 | depending on the context, leave it as-is | |
| 411 | @codeCoverageIgnoreStart | |
| 414 | @codeCoverageIgnoreEnd | |
| 682 | Attempt to parse the string as JSON regardless of content type, | |
| 683 | since some providers use non-standard content types. Only throw an | |
| 684 | exception if the JSON could not be parsed when it was expected to. | |
| 811 | tools.ietf.org/html/rfc6749#section-7.1 |
IdentityProviderException.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | thephpleague.com/oauth2-client/ Documentation | |
| 11 | packagist.org/packages/league/oauth2-client Packagist | |
| 12 | github.com/thephpleague/oauth2-client GitHub |
GenericProvider.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | thephpleague.com/oauth2-client/ Documentation | |
| 11 | packagist.org/packages/league/oauth2-client Packagist | |
| 12 | github.com/thephpleague/oauth2-client GitHub | |
| 96 | Remove all options that are only used locally |
GenericResourceOwner.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | thephpleague.com/oauth2-client/ Documentation | |
| 11 | packagist.org/packages/league/oauth2-client Packagist | |
| 12 | github.com/thephpleague/oauth2-client GitHub |
ResourceOwnerInterface.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | thephpleague.com/oauth2-client/ Documentation | |
| 11 | packagist.org/packages/league/oauth2-client Packagist | |
| 12 | github.com/thephpleague/oauth2-client GitHub |
AccessToken.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | thephpleague.com/oauth2-client/ Documentation | |
| 11 | packagist.org/packages/league/oauth2-client Packagist | |
| 12 | github.com/thephpleague/oauth2-client GitHub | |
| 23 | tools.ietf.org/html/rfc6749#section-1.4 Access Token (RFC 6749, §1.4) | |
| 109 | We need to know when the token expires. Show preference to | |
| 110 | 'expires_in' since it is defined in RFC6749 Section 5.1. | |
| 111 | Defer to 'expires' if it is provided instead. | |
| 119 | Some providers supply the seconds until expiration rather than | |
| 120 | the exact timestamp. Take a best guess at which we received. | |
| 130 | Capture any additional values that might exist in the token but are | |
| 131 | not part of the standard response. Vendors will sometimes pass | |
| 132 | additional user data this way. | |
| 150 | If the given value is larger than the original OAuth 2 draft date, | |
| 151 | assume that it is meant to be a (possible expired) timestamp. | |
| 152 | 2012-10-01 |
AccessTokenInterface.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | thephpleague.com/oauth2-client/ Documentation | |
| 11 | packagist.org/packages/league/oauth2-client Packagist | |
| 12 | github.com/thephpleague/oauth2-client GitHub |
ResourceOwnerAccessTokenInterface.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | thephpleague.com/oauth2-client/ Documentation | |
| 11 | packagist.org/packages/league/oauth2-client Packagist | |
| 12 | github.com/thephpleague/oauth2-client GitHub |
ArrayAccessorTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | thephpleague.com/oauth2-client/ Documentation | |
| 11 | packagist.org/packages/league/oauth2-client Packagist | |
| 12 | github.com/thephpleague/oauth2-client GitHub |
BearerAuthorizationTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | thephpleague.com/oauth2-client/ Documentation | |
| 11 | packagist.org/packages/league/oauth2-client Packagist | |
| 12 | github.com/thephpleague/oauth2-client GitHub | |
| 22 | tools.ietf.org/html/rfc6750 Bearer Token Usage (RFC 6750) |
GuardedPropertyTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | thephpleague.com/oauth2-client/ Documentation | |
| 11 | packagist.org/packages/league/oauth2-client Packagist | |
| 12 | github.com/thephpleague/oauth2-client GitHub |
MacAuthorizationTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | thephpleague.com/oauth2-client/ Documentation | |
| 11 | packagist.org/packages/league/oauth2-client Packagist | |
| 12 | github.com/thephpleague/oauth2-client GitHub | |
| 23 | tools.ietf.org/html/draft-ietf-oauth-v2-http-mac-05 Message Authentication Code (MAC) Tokens | |
| 63 | github.com/thephpleague/oauth2-client | |
| TODO | 65 | This is currently untested and provided only as an example. If you complete the implementation, please create a pull request for https://github.com/thephpleague/oauth2-client |
QueryBuilderTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | thephpleague.com/oauth2-client/ Documentation | |
| 11 | packagist.org/packages/league/oauth2-client Packagist | |
| 12 | github.com/thephpleague/oauth2-client GitHub |
RequestFactory.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | thephpleague.com/oauth2-client/ Documentation | |
| 11 | packagist.org/packages/league/oauth2-client Packagist | |
| 12 | github.com/thephpleague/oauth2-client GitHub | |
| 22 | github.com/guzzle/guzzle/pull/1101 | |
| 56 | Should match default values for getRequest |
RequiredParameterTrait.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | thephpleague.com/oauth2-client/ Documentation | |
| 11 | packagist.org/packages/league/oauth2-client Packagist | |
| 12 | github.com/thephpleague/oauth2-client GitHub |
index.php
| Type | Line | Description |
|---|---|---|
| 7 | Got an error, probably user denied access | |
| 12 | If we don't have an authorization code then get one | |
| 20 | State is invalid, possible CSRF attack in progress | |
| 26 | Try to get an access token (using the authorization code grant) | |
| 33 | Optional: Now you have a token you can look up a users profile data |
provider.php
| Type | Line | Description |
|---|---|---|
| 7 | Replace these with your token settings | |
| 8 | Create a project at https://console.developers.google.com/ | |
| 12 | Change this if you are not using the built-in PHP server | |
| 13 | localhost:8080/'; | |
| 15 | Start the session | |
| 18 | Initialize the provider | |
| 21 | No HTML for demo, prevents any attempt at XSS |
user.php
| Type | Line | Description |
|---|---|---|
| 19 | We got an access token, let's now get the user's details | |
| 22 | Use these details to create a new profile | |
| 25 | Failed to get user details | |
| 29 | Use this to interact with an API on the users behalf | |
| 32 | Use this to get a new access token if the old one expires | |
| 35 | Number of seconds until the access token will expire, and need refreshing | |
| 38 | Allow the user to logout |
Google.php
| Type | Line | Description |
|---|---|---|
| 17 | developers.google.com/identity/protocols/OpenIDConnect#authenticationuriparameters | |
| 23 | developers.google.com/identity/protocols/OpenIDConnect#authenticationuriparameters | |
| 29 | developers.google.com/identity/protocols/OpenIDConnect#authenticationuriparameters | |
| 35 | developers.google.com/identity/protocols/googlescopes | |
| 41 | accounts.google.com/o/oauth2/v2/auth'; | |
| 46 | oauth2.googleapis.com/token'; | |
| 51 | openidconnect.googleapis.com/v1/userinfo'; | |
| 68 | Default scopes MUST be included for OpenID Connect. | |
| 69 | Additional scopes MAY be added by constructor or option. | |
| 80 | The "approval_prompt" MUST be removed as it is not supported by Google, use "prompt" instead: | |
| 81 | https://developers.google.com/identity/protocols/oauth2/openid-connect#prompt | |
| 89 | "openid" MUST be the first scope in the list. | |
| 104 | @codeCoverageIgnoreStart | |
| 108 | @codeCoverageIgnoreEnd | |
| 136 | No hosted domain configured. | |
| 141 | Any hosted domain is allowed. | |
| 146 | Hosted domain is correct. |
ErrorHandler.php
| Type | Line | Description |
|---|---|---|
| 62 | Forces the autoloader to run for LogLevel. Fixes an autoload issue at compile-time on PHP5.3. See https://github.com/Seldaek/monolog/pull/929 | |
| 157 | fatal error codes are ignored if a fatal error handler is present as well to avoid duplicate log entries | |
| 162 | http://php.net/manual/en/function.debug-backtrace.php | |
| 163 | As of 5.3.6, DEBUG_BACKTRACE_IGNORE_ARGS option was added. | |
| 164 | Any version less than 5.3.6 must use the DEBUG_BACKTRACE_IGNORE_ARGS constant value '2'. | |
| 166 | Exclude handleError from trace |
ChromePHPFormatter.php
| Type | Line | Description |
|---|---|---|
| 42 | Retrieve the line and file if set and remove them from the formatted extra |
ElasticaFormatter.php
| Type | Line | Description |
|---|---|---|
| 39 | elasticsearch requires a ISO 8601 format date with optional millisecond precision. |
FluentdFormatter.php
| Type | Line | Description |
|---|---|---|
| 31 | /var/run/td-agent/td-agent.sock'); |
GelfMessageFormatter.php
| Type | Line | Description |
|---|---|---|
| 19 | www.graylog2.org/about/gelf | |
| 90 | message length + system name length + 200 for padding / metadata |
JsonFormatter.php
| Type | Line | Description |
|---|---|---|
| 185 | TODO 2.0 only check for Throwable |
LineFormatter.php
| Type | Line | Description |
|---|---|---|
| 107 | remove leftover %extra.xxx% and %context.xxx% if any | |
| 132 | TODO 2.0 only check for Throwable |
LogglyFormatter.php
| Type | Line | Description |
|---|---|---|
| 35 | www.loggly.com/docs/automated-parsing/#json | |
| 42 | TODO 2.0 unset the 'datetime' parameter, retained for BC |
LogstashFormatter.php
| Type | Line | Description |
|---|---|---|
| 17 | logstash.net/ | |
| 18 | github.com/logstash/logstash/blob/master/lib/logstash/event.rb | |
| 61 | logstash requires a ISO 8601 format date with optional millisecond precision. |
NormalizerFormatter.php
| Type | Line | Description |
|---|---|---|
| 99 | TODO 2.0 only check for Throwable | |
| 104 | non-serializable objects that implement __toString stringified | |
| 108 | the rest is json-serialized in some way | |
| 124 | TODO 2.0 only check for Throwable |
WildfireFormatter.php
| Type | Line | Description |
|---|---|---|
| 46 | Retrieve the line and file if set and remove them from the formatted extra | |
| 81 | Create JSON object describing the appearance of the message in the console | |
| 92 | The message itself is a serialization of the above JSON object + it's length |
AbstractHandler.php
| Type | Line | Description |
|---|---|---|
| 172 | do nothing | |
| 174 | do nothing |
AbstractSyslogHandler.php
| Type | Line | Description |
|---|---|---|
| 74 | LOG_LOCAL0 | |
| 75 | LOG_LOCAL1 | |
| 76 | LOG_LOCAL2 | |
| 77 | LOG_LOCAL3 | |
| 78 | LOG_LOCAL4 | |
| 79 | LOG_LOCAL5 | |
| 80 | LOG_LOCAL6 | |
| 81 | LOG_LOCAL7 | |
| 84 | convert textual description of facility to syslog constant |
AmqpHandler.php
| Type | Line | Description |
|---|---|---|
| 118 | TODO 2.0 remove substr call |
BrowserConsoleHandler.php
| Type | Line | Description |
|---|---|---|
| 45 | Accumulate records | |
| 48 | Register shutdown handler if not already done | |
| 125 | Check content type | |
| 128 | This handler only works with HTML and javascript outputs | |
| 129 | text/javascript is obsolete in favour of application/javascript, but still used | |
| 192 | Format the string as a label with consistent auto assigned background color |
BufferHandler.php
| Type | Line | Description |
|---|---|---|
| 60 | __destructor() doesn't get called on Fatal errors | |
| 98 | suppress the parent behavior since we already have register_shutdown_function() | |
| 99 | to call close(), and the reference contained there will prevent this from being | |
| 100 | GC'd until the end of the request |
ChromePHPHandler.php
| Type | Line | Description |
|---|---|---|
| 19 | www.chromephp.com/) |
CouchDBHandler.php
| Type | Line | Description |
|---|---|---|
| 49 | '.$basicAuth.$this->options['host'].':'.$this->options['port'].'/'.$this->options['dbname']; |
CubeHandler.php
| Type | Line | Description |
|---|---|---|
| 20 | square.github.com/cube/ | |
| 36 | host:port | |
| 92 | '.$this->host.':'.$this->port.'/1.0/event/put'); |
DeduplicationHandler.php
| Type | Line | Description |
|---|---|---|
| 92 | default of null is valid as well as if no record matches duplicationLevel we just pass through |
DynamoDbHandler.php
| Type | Line | Description |
|---|---|---|
| 21 | aws.amazon.com/dynamodb/) | |
| 23 | github.com/aws/aws-sdk-php/ |
ElasticSearchHandler.php
| Type | Line | Description |
|---|---|---|
| 60 | Elastic index name | |
| 61 | Elastic document type | |
| 62 | Suppress Elastica exceptions |
ChannelLevelActivationStrategy.php
| Type | Line | Description |
|---|---|---|
| 31 | stderr'), $activationStrategy); |
FingersCrossedHandler.php
| Type | Line | Description |
|---|---|---|
| 56 | convert simple int activationStrategy to an object |
FirePHPHandler.php
| Type | Line | Description |
|---|---|---|
| 17 | www.firephp.org/), which uses the Wildfire protocol. | |
| 26 | meta.wildfirehq.org/Protocol/JsonStream/0.2'; | |
| 31 | meta.firephp.org/Wildfire/Structure/FirePHP/FirebugConsole/0.1'; | |
| 36 | meta.firephp.org/Wildfire/Plugin/FirePHP/Library-FirePHPCore/0.3'; | |
| 79 | Wildfire is extensible to support multiple protocols & plugins in a single request, | |
| 80 | but we're not taking advantage of that (yet), so we're using "1" for simplicity's sake. | |
| 104 | Initial payload consists of required headers for Wildfire | |
| 138 | WildFire-specific headers must be sent prior to any messages |
FleepHookHandler.php
| Type | Line | Description |
|---|---|---|
| 22 | fleep.io/integrations/webhooks/ Fleep Webhooks Documentation | |
| 40 | fleep.io/integrations/webhooks/ | |
| 55 | ' . self::FLEEP_HOST . ':443'; |
FlowdockHandler.php
| Type | Line | Description |
|---|---|---|
| 28 | www.flowdock.com/api/push | |
| 50 | api.flowdock.com:443', $level, $bubble); |
GelfHandler.php
| Type | Line | Description |
|---|---|---|
| 22 | www.graylog2.org) server |
HipChatHandler.php
| Type | Line | Description |
|---|---|---|
| 27 | www.hipchat.com/docs/api | |
| 100 | www.atlassian.com/partnerships/slack', E_USER_DEPRECATED); | |
| 106 | '.$host.':443' : $host.':80'; | |
| 156 | if we are using the legacy API then we need to send some additional information | |
| 161 | append the sender name if it is set | |
| 162 | always append it if we use the v1 api (it is required in v1) | |
| 181 | needed for rooms with special (spaces, etc) characters in the name | |
| 311 | Pop the last message and implode the remaining messages | |
| 329 | Set the max level and datetime for all records |
IFTTTHandler.php
| Type | Line | Description |
|---|---|---|
| 20 | ifttt.com/maker | |
| 60 | maker.ifttt.com/trigger/" . $this->eventName . "/with/key/" . $this->secretKey); |
InsightOpsHandler.php
| Type | Line | Description |
|---|---|---|
| 45 | ' . $region . '.data.logs.insight.rapid7.com:443' |
LogEntriesHandler.php
| Type | Line | Description |
|---|---|---|
| 40 | ' . $host . ':443' : $host . ':80'; |
LogglyHandler.php
| Type | Line | Description |
|---|---|---|
| 79 | %s/%s/%s/", self::HOST, $endpoint, $this->token); |
MandrillHandler.php
| Type | Line | Description |
|---|---|---|
| 57 | mandrillapp.com/api/1.0/messages/send-raw.json'); |
MongoDBHandler.php
| Type | Line | Description |
|---|---|---|
| 23 | localhost:27017"), "logs", "prod"); |
NewRelicHandler.php
| Type | Line | Description |
|---|---|---|
| 24 | docs.newrelic.com/docs/agents/php-agent | |
| 25 | docs.newrelic.com/docs/accounts-partnerships/accounts/security/high-security |
PHPConsoleHandler.php
| Type | Line | Description |
|---|---|---|
| 28 | chrome.google.com/webstore/detail/php-console/nfhmhhlpfleoednkpnnnkolmclajemef | |
| 29 | github.com/barbushin/php-console#overview | |
| 30 | github.com/barbushin/php-console#installation | |
| 31 | i.hizliresim.com/vg3Pz4.png) | |
| 37 | PHP Console debugger for any type of vars | |
| 39 | www.linkedin.com/in/barbushin | |
| 44 | bool Is PHP Console server enabled | |
| 45 | array Hide calls of classes started with... | |
| 46 | bool Is PHP Console server enabled | |
| 47 | bool Enable errors handling | |
| 48 | bool Enable exceptions handling | |
| 49 | string Base path of all project sources to strip in errors source paths | |
| 50 | bool Register PhpConsole\Helper that allows short debug calls like PC::debug($var, 'ta.g.s') | |
| 51 | string|null Server internal encoding | |
| 52 | int|null Set headers size limit for your web-server | |
| 53 | string|null Protect PHP Console connection by password | |
| 54 | bool Force connection by SSL for clients with PHP Console installed | |
| 55 | array Set IP masks of clients that will be allowed to connect to PHP Console: array('192.168.*.*', '127.0.0.1') | |
| 56 | bool Enable eval request to be handled by eval dispatcher(if enabled, 'password' option is also required) | |
| 57 | bool Convert callback items in dumper vars to (callback SomeClass::someMethod) strings | |
| 58 | int Maximum dumped vars array or object nested dump level | |
| 59 | int Maximum dumped var same level array items or object properties number | |
| 60 | int Maximum length of any string or dumped array item | |
| 61 | int Maximum approximate size of dumped vars result formatted in JSON | |
| 62 | bool Autodetect and append trace data to debug | |
| 63 | PhpConsole\Storage|null Fixes problem with custom $_SESSION handler(see http://goo.gl/Ne8juJ) | |
| 79 | github.com/barbushin/php-console#installation'); |
PushoverHandler.php
| Type | Line | Description |
|---|---|---|
| 20 | www.pushover.net/api | |
| 37 | pushover.net/api | |
| 58 | pushover.net/api#sounds | |
| 84 | api.pushover.net:443' : 'api.pushover.net:80'; | |
| 105 | Pushover has a limit of 512 characters on title and message combined. | |
| 129 | First determine the available parameters | |
| 133 | Least important info should be merged with subsequent info | |
| 136 | Only pass sounds that are supported by the API |
RavenHandler.php
| Type | Line | Description |
|---|---|---|
| 20 | github.com/getsentry/sentry) server | |
| 21 | github.com/getsentry/sentry-php) | |
| 64 | github.com/getsentry/sentry-php/blob/master/src/Monolog/Handler.php', E_USER_DEPRECATED); | |
| 78 | filter records based on their level | |
| 87 | the record with the highest severity is the "main" one | |
| 96 | the other ones are added as a context item |
RedisHandler.php
| Type | Line | Description |
|---|---|---|
| 23 | localhost:6379"), "logs", "prod"); |
RollbarHandler.php
| Type | Line | Description |
|---|---|---|
| 81 | __destructor() doesn't get called on Fatal errors |
RotatingFileHandler.php
| Type | Line | Description |
|---|---|---|
| 110 | on the first record written, if the log is new, we should rotate (once per day) | |
| 128 | update filename | |
| 132 | skip GC of old logs if files are unlimited | |
| 139 | no files to remove | |
| 143 | Sorting the files by name to remove the older ones | |
| 150 | suppress errors here as unlink() might fail if two processes | |
| 151 | are cleaning up/rotating at the same time |
SlackRecord.php
| Type | Line | Description |
|---|---|---|
| 24 | api.slack.com/incoming-webhooks | |
| 25 | api.slack.com/docs/message-attachments | |
| 50 | example.com/user.png' | |
| 154 | Add all extra fields as individual fields in attachment |
SlackbotHandler.php
| Type | Line | Description |
|---|---|---|
| 20 | slack.com/apps/A0F81R8ET-slackbot | |
| 70 | %s.slack.com/services/hooks/slackbot?token=%s&channel=%s', |
SlackHandler.php
| Type | Line | Description |
|---|---|---|
| 23 | api.slack.com/ | |
| 58 | slack.com:443', $level, $bubble); |
SlackWebhookHandler.php
| Type | Line | Description |
|---|---|---|
| 23 | api.slack.com/incoming-webhooks |
SocketHandler.php
| Type | Line | Description |
|---|---|---|
| 20 | php.net/manual/en/function.fsockopen.php | |
| 99 | php.net/manual/en/function.fsockopen.php | |
| 112 | php.net/manual/en/function.stream-set-timeout.php | |
| 204 | php.net/fsockopen for details. | |
| 211 | on TCP - other party can close connection. | |
| 233 | php.net/manual/en/function.stream-set-timeout.php | |
| 246 | php.net/manual/en/function.stream-set-chunk-size.php |
StreamHandler.php
| Type | Line | Description |
|---|---|---|
| 20 | stderr, remote and local files, etc. | |
| 115 | ignoring errors here, there's not much we can do about them | |
| 148 | '); | |
| 153 | ' === substr($stream, 0, 7)) { | |
| 162 | Do not try to create dir if it has already been tried. |
WhatFailureGroupHandler.php
| Type | Line | Description |
|---|---|---|
| 37 | What failure? | |
| 39 | What failure? | |
| 66 | What failure? | |
| 68 | What failure? |
ZendMonitorHandler.php
| Type | Line | Description |
|---|---|---|
| 45 | zend monitor constants are not defined if zend monitor is not enabled. |
Logger.php
| Type | Line | Description |
|---|---|---|
| 295 | stderr', static::DEBUG)); | |
| 300 | check if any handler will handle this message so we can return early and save cycles | |
| 320 | php7.1+ always has microseconds enabled, so we do not need this hack | |
| 531 | Contains chars of all log levels and avoids using strtoupper() which may have | |
| 532 | strange results depending on locale (for example, "i" will become "İ") |
GitProcessor.php
| Type | Line | Description |
|---|---|---|
| 38 | return if the level is not high enough |
IntrospectionProcessor.php
| Type | Line | Description |
|---|---|---|
| 53 | return if the level is not high enough | |
| 59 | php.net/manual/en/function.debug-backtrace.php | |
| 65 | skip first since it's always the current method | |
| 67 | the call_user_func call is also skipped | |
| 90 | we should have the call source now |
MercurialProcessor.php
| Type | Line | Description |
|---|---|---|
| 37 | return if the level is not high enough |
WebProcessor.php
| Type | Line | Description |
|---|---|---|
| 78 | skip processing if for some reason request data | |
| 79 | is not present (CLI or wonky SAPIs) |
SignalHandler.php
| Type | Line | Description |
|---|---|---|
| 75 | HHVM 3.24.2 returns an empty array. |
Utils.php
| Type | Line | Description |
|---|---|---|
| 36 | ' === substr($streamUrl, 0, 7)) { | |
| 38 | '; | |
| 41 | other type of stream, not supported | |
| 42 | ')) { | |
| 46 | already absolute | |
| 176 | u', $data)) { |
build_bootstrap.php
| Type | Line | Description |
|---|---|---|
| 28 | delete the old file | |
| 34 | and load the new one | |
| 74 | www.opensource.org/licenses/MIT | |
| 106 | each $name can only be loaded once per PHP process | |
| 173 | replace multiple new lines with a single newline |
Autoloader.php
| Type | Line | Description |
|---|---|---|
| 38 | realpath doesn't always work, for example, with stream URIs |
FilesystemCache.php
| Type | Line | Description |
|---|---|---|
| 111 | @codeCoverageIgnoreStart | |
| 115 | @codeCoverageIgnoreEnd | |
| 148 | @codeCoverageIgnoreStart | |
| 154 | @codeCoverageIgnoreEnd | |
| 157 | @codeCoverageIgnoreStart | |
| 159 | @codeCoverageIgnoreEnd |
Compiler.php
| Type | Line | Description |
|---|---|---|
| 324 | %s section | |
| 399 | %s inverted section |
Context.php
| Type | Line | Description |
|---|---|---|
| 216 | Note that is_callable() *will not work here* | |
| 217 | See https://github.com/bobthecow/mustache.php/wiki/Magic-Methods |
Engine.php
| Type | Line | Description |
|---|---|---|
| 15 | defunkt.github.com/mustache} | |
| 22 | justinhileman.com} | |
| 33 | Known pragmas | |
| 40 | Template cache | |
| 43 | Environment | |
| 59 | Services | |
| 70 | The class prefix for compiled templates. Defaults to '__Mustache_'. | |
| 73 | A Mustache cache instance or a cache directory string for compiled templates. | |
| 74 | Mustache will not cache templates unless this is set. | |
| 77 | Override default permissions for cache files. Defaults to using the system-defined umask. It is | |
| 78 | *strongly* recommended that you configure your umask properly rather than overriding permissions here. | |
| 81 | Optionally, enable caching for lambda section templates. This is generally not recommended, as lambda | |
| 82 | sections are often too dynamic to benefit from caching. | |
| 85 | Customize the tag delimiters used by this engine instance. Note that overriding here changes the | |
| 86 | delimiters used to parse all templates and partials loaded by this instance. To override just for a | |
| 87 | single template, use an inline "change delimiters" tag at the start of the template file: | |
| 89 | * // {{=<% %>=}} | |
| 91 | * 'delimiters' => '<% %>', | |
| 93 | A Mustache template loader instance. Uses a StringLoader if not specified. | |
| 96 | A Mustache loader instance for partials. | |
| 99 | An array of Mustache partials. Useful for quick-and-dirty string template loading, but not as | |
| 100 | efficient or lazy as a Filesystem (or database) loader. | |
| 103 | An array of 'helpers'. Helpers can be global variables or objects, closures (e.g. for higher order | |
| 104 | sections), or any other valid Mustache context value. They will be prepended to the context stack, | |
| 105 | so they will be available in any template loaded by this Mustache instance. | |
| 107 | do something translatey here... | |
| 110 | An 'escape' callback, responsible for escaping double-mustache variables. | |
| 115 | Type argument for `htmlspecialchars`. Defaults to ENT_COMPAT. You may prefer ENT_QUOTES. | |
| 118 | Character set for `htmlspecialchars`. Defaults to 'UTF-8'. Use 'UTF-8'. | |
| 121 | A Mustache Logger instance. No logging will occur unless this is set. Using a PSR-3 compatible | |
| 122 | logging library -- such as Monolog -- is highly recommended. A simple stream logger implementation is | |
| 123 | available as well: | |
| 124 | stderr'), | |
| 126 | Only treat Closure instances and invokable classes as callable. If true, values like | |
| 127 | `array('ClassName', 'methodName')` and `array($classInstance, 'methodName')`, which are traditionally | |
| 128 | "callable" in PHP, are not called to resolve variables for interpolation or section contexts. This | |
| 129 | helps protect against arbitrary code execution when user input is passed directly into the template. | |
| 130 | This currently defaults to false, but will default to true in v3.0. | |
| 133 | Enable pragmas across all templates, regardless of the presence of pragma tags in the individual | |
| 134 | templates. | |
| 618 | For the most part, adding a new option here should do the trick. | |
| 620 | // Pick a value here which is unique for each possible way the template | |
| 621 | could be compiled... but not necessarily unique per option value. See | |
| 622 | escape below, which only needs to differentiate between 'custom' and | |
| 623 | 'default' escapes. | |
| 625 | // Keep this list in alphabetical order :) | |
| 639 | Template Source instances have already provided their own source key. For strings, just include the whole | |
| 640 | source string in the md5 hash. | |
| 683 | If the named partial cannot be found, log then return null. |
InvalidArgumentException.php
| Type | Line | Description |
|---|---|---|
| 17 | This space intentionally left blank. |
LogicException.php
| Type | Line | Description |
|---|---|---|
| 17 | This space intentionally left blank. |
RuntimeException.php
| Type | Line | Description |
|---|---|---|
| 17 | This space intentionally left blank. |
SyntaxException.php
| Type | Line | Description |
|---|---|---|
| 30 | @codeCoverageIgnore |
UnknownFilterException.php
| Type | Line | Description |
|---|---|---|
| 30 | @codeCoverageIgnore |
UnknownHelperException.php
| Type | Line | Description |
|---|---|---|
| 30 | @codeCoverageIgnore |
UnknownTemplateException.php
| Type | Line | Description |
|---|---|---|
| 30 | @codeCoverageIgnore |
Exception.php
| Type | Line | Description |
|---|---|---|
| 17 | This space intentionally left blank. |
ArrayLoader.php
| Type | Line | Description |
|---|---|---|
| 22 | '{{ bar }}' |
CascadingLoader.php
| Type | Line | Description |
|---|---|---|
| 63 | do nothing, check the next loader. |
FilesystemLoader.php
| Type | Line | Description |
|---|---|---|
| 18 | equivalent to `file_get_contents(dirname(__FILE__).'/views/foo.mustache'); | |
| 39 | The filename extension used for Mustache templates. Defaults to '.mustache' | |
| 52 | ') === false) { | |
| 73 | loads "./views/admin/dashboard.mustache"; | |
| 133 | ') === false || strpos($this->baseDir, 'file://') === 0; |
InlineLoader.php
| Type | Line | Description |
|---|---|---|
| 43 | ... |
ProductionFilesystemLoader.php
| Type | Line | Description |
|---|---|---|
| 29 | The filename extension used for Mustache templates. Defaults to '.mustache' | |
| 37 | php.net/manual/en/function.stat.php |
StringLoader.php
| Type | Line | Description |
|---|---|---|
| 18 | '{{ foo }}' | |
| 24 | "bar" |
StreamLogger.php
| Type | Line | Description |
|---|---|---|
| 19 | stderr` for your stream URL. | |
| 130 | @codeCoverageIgnoreStart | |
| 132 | @codeCoverageIgnoreEnd | |
| 185 | build a replacement array with braces around the context keys | |
| 191 | interpolate replacement values into the the message and return |
Logger.php
| Type | Line | Description |
|---|---|---|
| 26 | github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md |
Parser.php
| Type | Line | Description |
|---|---|---|
| 137 | store the whitespace prefix for laters! | |
| 151 | BLOCKS pragma is enabled, let's do this! | |
| 158 | pretend this was just a normal "escaped" token... | |
| 160 | TODO: figure out how to figure out if there was a space after this dollar: | |
| 168 | no break | |
| 206 | this is the third or later node on this line, so it can't be standalone | |
| 212 | this is the second node on this line, so it can't be standalone | |
| 213 | unless the previous node is whitespace. | |
| 222 | If we're on a new line, bail. | |
| 227 | If the next token isn't whitespace, bail. | |
| 233 | Unless it's the last token in the template, the next token | |
| 234 | must end in newline for this to be standalone. | |
| 240 | Discard the whitespace suffix | |
| 245 | Return the whitespace prefix, if any |
Template.php
| Type | Line | Description |
|---|---|---|
| 44 | "Hello, World!" |
Tokenizer.php
| Type | Line | Description |
|---|---|---|
| 19 | Finite state machine states | |
| 24 | Token types | |
| 40 | Valid token types | |
| 56 | Token properties | |
| 97 | Setting mbstring.func_overload makes things *really* slow. | |
| 98 | Let's do everyone a favor and scan this string as ASCII instead. | |
| 100 | // @codeCoverageIgnoreStart | |
| 106 | @codeCoverageIgnoreEnd | |
| 119 | Test whether it's time to change tags. | |
| 161 | Test whether it's time to change tags. | |
| 173 | Clean up `{{{ tripleStache }}}` style tokens. | |
| 215 | Restore the user's encoding... | |
| 216 | @codeCoverageIgnoreStart | |
| 220 | @codeCoverageIgnoreEnd | |
| 333 | Pragmas are hoisted to the front of the template. |
bootstrap.php
| Type | Line | Description |
|---|---|---|
| 48 | -', '', $path); |
Bar.php
| Type | Line | Description |
|---|---|---|
| 14 | nada |
Foo.php
| Type | Line | Description |
|---|---|---|
| 14 | nada |
NonMustacheClass.php
| Type | Line | Description |
|---|---|---|
| 14 | noop |
Filters.php
| Type | Line | Description |
|---|---|---|
| 67 | The next few functions are ugly, because they have to work in PHP 5.2... | |
| 68 | for everyone who doesn't have to support 5.2, please, for the love, make | |
| 69 | your ViewModel return closures rather than `array($this, '...')` | |
| 71 | // :) |
I18n.php
| Type | Line | Description |
|---|---|---|
| 14 | Variable to be interpolated | |
| 17 | Add a {{#__}} lambda for i18n | |
| 20 | A *very* small i18n dictionary :) |
Whitespace.php
| Type | Line | Description |
|---|---|---|
| 15 | github.com/janl/mustache.js/issues/issue/34/#comment_244396 |
AbstractCacheTest.php
| Type | Line | Description |
|---|---|---|
| 17 | stdout'); | |
| 37 | nada | |
| 42 | nada |
ContextTest.php
| Type | Line | Description |
|---|---|---|
| 191 | nothing | |
| 275 | nada | |
| 280 | nada |
EngineTest.php
| Type | Line | Description |
|---|---|---|
| 242 | ... and a functional test | |
| 287 | setting partials overrides the default template loading fallback. | |
| 290 | but it didn't overwrite the original template loader templates. |
StrictCallablesTest.php
| Type | Line | Description |
|---|---|---|
| 40 | Interpolation lambdas | |
| 62 | Section lambdas | |
| 82 | Strict interpolation lambdas | |
| 92 | Strict section lambdas |
ExamplesTest.php
| Type | Line | Description |
|---|---|---|
| 88 | load partials | |
| 91 | load other files |
FilesystemLoaderTest.php
| Type | Line | Description |
|---|---|---|
| 36 | ' . $baseDir, array('extension' => '.ms')); |
ProductionFilesystemLoaderTest.php
| Type | Line | Description |
|---|---|---|
| 38 | ' . $baseDir, array('extension' => '.ms')); |
StreamLoggerTest.php
| Type | Line | Description |
|---|---|---|
| 72 | $logLevel, $level, $shouldLog | |
| 74 | identities | |
| 84 | one above | |
| 93 | one below | |
| 121 | $level, $message, $context, $expected | |
| 132 | with context | |
| 140 | with interpolation | |
| 148 | with iterpolation false positive | |
| 156 | with interpolation injection |
ParserTest.php
| Type | Line | Description |
|---|---|---|
| 119 | This *would* be an invalid inheritance parse tree, but that pragma | |
| 120 | isn't enabled so it'll thunk it back into an "escaped" token: | |
| 331 | no close | |
| 343 | no close inverted | |
| 355 | no opening inverted | |
| 367 | weird nesting | |
| 397 | This *would* be a valid inheritance parse tree, but that pragma | |
| 398 | isn't enabled here so it's going to fail :) |
SpecTestCase.php
| Type | Line | Description |
|---|---|---|
| 48 | @hack: pre-process the 'lambdas' spec so the Symfony YAML parser doesn't complain. |
TokenizerTest.php
| Type | Line | Description |
|---|---|---|
| 184 | See https://github.com/bobthecow/mustache.php/issues/183 | |
| 213 | custom delimiters don't swallow the next character, even if it is a }, }}}, or the same delimiter | |
| 260 | unescaped custom delimiters are properly parsed | |
| 276 | Ensure that $arg token is not picked up during tokenization |
Finder.php
| Type | Line | Description |
|---|---|---|
| 4 | nette.org) | |
| 5 | davidgrudl.com) | |
| 160 | absolute fixing | |
| 301 | in $operator is predicate | |
| 324 | in $operator is predicate |
MailExtension.php
| Type | Line | Description |
|---|---|---|
| 4 | nette.org) | |
| 5 | davidgrudl.com) |
DkimSigner.php
| Type | Line | Description |
|---|---|---|
| 4 | nette.org) | |
| 5 | davidgrudl.com) |
exceptions.php
| Type | Line | Description |
|---|---|---|
| 4 | nette.org) | |
| 5 | davidgrudl.com) |
FallbackMailer.php
| Type | Line | Description |
|---|---|---|
| 4 | nette.org) | |
| 5 | davidgrudl.com) |
Mailer.php
| Type | Line | Description |
|---|---|---|
| 4 | nette.org) | |
| 5 | davidgrudl.com) |
Message.php
| Type | Line | Description |
|---|---|---|
| 4 | nette.org) | |
| 5 | davidgrudl.com) | |
| 110 | addRecipient() | |
| 230 | intentionally == | |
| 312 | not allowed for attached files | |
| 314 | Troublesome for some mailers... |
MimePart.php
| Type | Line | Description |
|---|---|---|
| 4 | nette.org) | |
| 5 | davidgrudl.com) | |
| 38 | value, RFC 2231 | |
| 39 | encoded-word, RFC 2047 | |
| 62 | intentionally == | |
| 67 | ||
| 75 | continue | |
| 122 | colon + space | |
| 130 | intentionally == | |
| 136 | last comma | |
| 138 | Content-Disposition | |
| 250 | break omitted | |
| 286 | 3 is tab + quotes | |
| 289 | RFC 2822 atext except = | |
| 296 | maximum for iconv_mime_encode | |
| 302 | Q is broken | |
| 308 | adds ': ' |
SendmailMailer.php
| Type | Line | Description |
|---|---|---|
| 4 | nette.org) | |
| 5 | davidgrudl.com) |
Signer.php
| Type | Line | Description |
|---|---|---|
| 4 | nette.org) | |
| 5 | davidgrudl.com) |
SmtpMailer.php
| Type | Line | Description |
|---|---|---|
| 4 | nette.org) | |
| 5 | davidgrudl.com) | |
| 154 | @ is escalated to exception | |
| 155 | ' : '') . $this->host . ':' . $this->port, | |
| 166 | greeting | |
| 244 | intentionally == |
Decoder.php
| Type | Line | Description |
|---|---|---|
| 4 | nette.org) | |
| 5 | davidgrudl.com) | |
| 23 | string | |
| 31 | literal / boolean / integer / float | |
| 34 | symbol | |
| 35 | comment | |
| 36 | new line + indent | |
| 37 | whitespace | |
| 87 | BOM | |
| 90 | \n forces indent detection | |
| 132 | ArrayEntry separator | |
| 139 | KeyValuePair separator | |
| 146 | not last | |
| 151 | block parser exit point | |
| 165 | BlockArray bullet | |
| 172 | Opening bracket [ ( { | |
| 188 | unexpected type of bracket or block-parser | |
| 192 | Closing bracket ] ) } | |
| 198 | Indent | |
| 207 | skip to last indent | |
| 214 | first iteration | |
| 223 | open new block-array or hash | |
| 229 | not last | |
| 237 | block items must have "key"; null key means list item | |
| 249 | close block | |
| 250 | block parser exit point | |
| 254 | Value | |
| 278 | literal | |
| 282 | Entity chaining | |
| 302 | block items must have "key" | |
| 304 | simple value parser | |
| 331 | workaround for PHP 5.6 | |
| 340 | IGNORE', pack('N', $code)); |
Encoder.php
| Type | Line | Description |
|---|---|---|
| 4 | nette.org) | |
| 5 | davidgrudl.com) | |
| 71 | 1 = literals |
Entity.php
| Type | Line | Description |
|---|---|---|
| 4 | nette.org) | |
| 5 | davidgrudl.com) |
Exception.php
| Type | Line | Description |
|---|---|---|
| 4 | nette.org) | |
| 5 | davidgrudl.com) |
Neon.php
| Type | Line | Description |
|---|---|---|
| 4 | nette.org) | |
| 5 | davidgrudl.com) |
Collector.php
| Type | Line | Description |
|---|---|---|
| 5 | davidgrudl.com) |
AbstractGenerator.php
| Type | Line | Description |
|---|---|---|
| 5 | davidgrudl.com) | |
| 51 | @ is escalated to exception | |
| 57 | @ some files or wrappers may not exist, i.e. mock:// | |
| 77 | @ is escalated to exception | |
| 117 | . or .. or .gitignore |
CloverXMLGenerator.php
| Type | Line | Description |
|---|---|---|
| 5 | davidgrudl.com) | |
| 56 | TODO: @name | |
| 89 | TODO: split to <package> by namespace? | |
| 110 | TODO: interfaces? | |
| 132 | Line type can be 'method' but Xdebug does not report such lines as executed. | |
| 145 | TODO: What about reported (covered) lines outside of class/trait definition? | |
| 188 | Never loaded file |
HtmlGenerator.php
| Type | Line | Description |
|---|---|---|
| 5 | davidgrudl.com) | |
| 21 | tested | |
| 22 | untested | |
| 23 | dead code |
template.phtml
| Type | Line | Description |
|---|---|---|
| 294 | tester.nette.org">Nette Tester</a> at <?= @date('Y/m/d H:i:s') // @ timezone may not be set ?></p> | |
| 307 | tested | |
| 308 | untested | |
| 309 | dead code |
PhpParser.php
| Type | Line | Description |
|---|---|---|
| 5 | davidgrudl.com) | |
| 157 | break omitted |
Assert.php
| Type | Line | Description |
|---|---|---|
| 5 | davidgrudl.com) | |
| 23 | one % character | |
| 24 | one or more of anything except the end of line characters | |
| 25 | zero or more of anything except the end of line characters | |
| 26 | one or more of anything including the end of line characters | |
| 27 | zero or more of anything including the end of line characters | |
| 28 | one or more white space characters except the end of line characters | |
| 29 | zero or more white space characters except the end of line characters | |
| 30 | one or more of characters except the white space | |
| 31 | zero or more of characters except the white space | |
| 32 | a single character of any sort (except the end of line) | |
| 33 | one or more digits | |
| 34 | zero or more digits | |
| 35 | signed integer value | |
| 36 | floating point number | |
| 37 | one or more HEX digits | |
| 38 | one or more alphanumeric characters | |
| 39 | directory separator | |
| 40 | range | |
| 474 | @ is escalated to exception | |
| 537 | preg quoting | |
| 539 | right trim | |
| 649 | break omitted |
AssertException.php
| Type | Line | Description |
|---|---|---|
| 5 | davidgrudl.com) |
DataProvider.php
| Type | Line | Description |
|---|---|---|
| 5 | davidgrudl.com) | |
| 40 | @ is escalated to exception |
DomQuery.php
| Type | Line | Description |
|---|---|---|
| 5 | davidgrudl.com) | |
| 24 | parse these elements as void | |
| 27 | fix parsing of </ inside scripts | |
| 78 | *'; | |
| 96 | #ID | |
| 98 | .class | |
| 100 | pseudo-class | |
| 102 | tag | |
| 104 | [attribute] | |
| 125 | *'; | |
| 131 | *'; |
Dumper.php
| Type | Line | Description |
|---|---|---|
| 5 | davidgrudl.com) | |
| 259 | in case of shutdown handler, we want to skip inner-code blocks and debugging calls | |
| 283 | try to display 1/3 of shorter string | |
| 284 | 3 = length of ... | |
| 355 | @ - directory may already exist |
Environment.php
| Type | Line | Description |
|---|---|---|
| 5 | davidgrudl.com) | |
| 81 | PHP >= 7.2 | |
| 85 | ConEmu | |
| 86 | ANSICON | |
| 87 | MSYS | |
| 88 | MSYS | |
| 89 | PHP < 7.2 | |
| 125 | show fatal errors hidden by @shutup | |
| 242 | @ may be not removable |
Expect.php
| Type | Line | Description |
|---|---|---|
| 5 | davidgrudl.com) |
FileMock.php
| Type | Line | Description |
|---|---|---|
| 5 | davidgrudl.com) | |
| 50 | ' . (++$id) . '.' . $extension; | |
| 67 | Windows: failed to open stream: Bad file descriptor | |
| 68 | Linux: failed to open stream: Illegal seek |
FileMutator.php
| Type | Line | Description |
|---|---|---|
| 5 | davidgrudl.com) |
Helpers.php
| Type | Line | Description |
|---|---|---|
| 5 | davidgrudl.com) |
TestCase.php
| Type | Line | Description |
|---|---|---|
| 5 | davidgrudl.com) |
CliTester.php
| Type | Line | Description |
|---|---|---|
| 5 | davidgrudl.com) | |
| 226 | output', | |
| 321 | @ file could be deleted in the meantime |
CommandLine.php
| Type | Line | Description |
|---|---|---|
| 5 | davidgrudl.com) |
Job.php
| Type | Line | Description |
|---|---|---|
| 5 | davidgrudl.com) | |
| 134 | on Windows does not work with proc_open() | |
| 140 | stream_select() doesn't work with proc_open() |
ConsolePrinter.php
| Type | Line | Description |
|---|---|---|
| 5 | davidgrudl.com) | |
| 59 | output', 'w'); |
JUnitPrinter.php
| Type | Line | Description |
|---|---|---|
| 5 | davidgrudl.com) | |
| 36 | output', 'w'); |
Logger.php
| Type | Line | Description |
|---|---|---|
| 5 | davidgrudl.com) | |
| 38 | output', 'w'); |
TapPrinter.php
| Type | Line | Description |
|---|---|---|
| 5 | davidgrudl.com) | |
| 17 | testanything.org | |
| 30 | output', 'w'); |
OutputHandler.php
| Type | Line | Description |
|---|---|---|
| 5 | davidgrudl.com) |
PhpInterpreter.php
| Type | Line | Description |
|---|---|---|
| 5 | davidgrudl.com) | |
| 36 | @ is escalated to exception |
Runner.php
| Type | Line | Description |
|---|---|---|
| 5 | davidgrudl.com) | |
| 93 | @ - directory may exist | |
| 139 | stream_select() doesn't work with proc_open() |
Test.php
| Type | Line | Description |
|---|---|---|
| 5 | davidgrudl.com) |
TestHandler.php
| Type | Line | Description |
|---|---|---|
| 5 | davidgrudl.com) |
tester.php
| Type | Line | Description |
|---|---|---|
| 5 | davidgrudl.com) |
compatibility.php
| Type | Line | Description |
|---|---|---|
| 4 | nette.org) | |
| 5 | davidgrudl.com) |
exceptions.php
| Type | Line | Description |
|---|---|---|
| 4 | nette.org) | |
| 5 | davidgrudl.com) |
HtmlStringable.php
| Type | Line | Description |
|---|---|---|
| 4 | nette.org) | |
| 5 | davidgrudl.com) |
CachingIterator.php
| Type | Line | Description |
|---|---|---|
| 4 | nette.org) | |
| 5 | davidgrudl.com) |
Mapper.php
| Type | Line | Description |
|---|---|---|
| 4 | nette.org) | |
| 5 | davidgrudl.com) |
SmartObject.php
| Type | Line | Description |
|---|---|---|
| 4 | nette.org) | |
| 5 | davidgrudl.com) | |
| 31 | calling event handlers | |
| 64 | property getter | |
| 69 | return by reference | |
| 90 | unsetted property | |
| 93 | property setter |
StaticClass.php
| Type | Line | Description |
|---|---|---|
| 4 | nette.org) | |
| 5 | davidgrudl.com) |
Translator.php
| Type | Line | Description |
|---|---|---|
| 4 | nette.org) | |
| 5 | davidgrudl.com) |
ArrayHash.php
| Type | Line | Description |
|---|---|---|
| 4 | nette.org) | |
| 5 | davidgrudl.com) | |
| 61 | prevents null |
ArrayList.php
| Type | Line | Description |
|---|---|---|
| 4 | nette.org) | |
| 5 | davidgrudl.com) |
Arrays.php
| Type | Line | Description |
|---|---|---|
| 4 | nette.org) | |
| 5 | davidgrudl.com) |
Callback.php
| Type | Line | Description |
|---|---|---|
| 4 | nette.org) | |
| 5 | davidgrudl.com) |
DateTime.php
| Type | Line | Description |
|---|---|---|
| 4 | nette.org) | |
| 5 | davidgrudl.com) | |
| 58 | textual or null |
exceptions.php
| Type | Line | Description |
|---|---|---|
| 4 | nette.org) | |
| 5 | davidgrudl.com) | |
| 48 | PREG_JIT_STACKLIMIT_ERROR |
FileSystem.php
| Type | Line | Description |
|---|---|---|
| 4 | nette.org) | |
| 5 | davidgrudl.com) | |
| 28 | @ - dir may already exist | |
| 66 | @ is escalated to exception | |
| 81 | @ is escalated to exception | |
| 89 | @ is escalated to exception | |
| 114 | @ is escalated to exception | |
| 127 | @ is escalated to exception | |
| 142 | @ is escalated to exception | |
| 145 | @ is escalated to exception | |
| 156 | #Ai', $path); |
Floats.php
| Type | Line | Description |
|---|---|---|
| 4 | nette.org) | |
| 5 | davidgrudl.com) |
Helpers.php
| Type | Line | Description |
|---|---|---|
| 4 | nette.org) | |
| 5 | davidgrudl.com) |
Html.php
| Type | Line | Description |
|---|---|---|
| 4 | nette.org) | |
| 5 | davidgrudl.com) | |
| 388 | appending empty value? -> ignore, but ensure it exists | |
| 390 | needs array | |
| 502 | invalid | |
| 504 | set | |
| 507 | add | |
| 640 | append | |
| 643 | insert or replace | |
| 739 | add content | |
| 751 | add end tag | |
| 827 | intentionally ==, skip nulls & empty string | |
| 828 | composite 'style' vs. 'others' |
Image.php
| Type | Line | Description |
|---|---|---|
| 4 | nette.org) | |
| 5 | davidgrudl.com) | |
| 225 | @ - files smaller than 12 bytes causes read error | |
| 235 | @ - strings smaller than 12 bytes causes read error | |
| 329 | resize | |
| 381 | non-proportional | |
| 391 | proportional | |
| 397 | fit width | |
| 401 | fit height | |
| 487 | my magic numbers ;) | |
| 626 | @ is escalated to exception | |
| 631 | @ is escalated to exception | |
| 635 | @ is escalated to exception | |
| 640 | @ is escalated to exception | |
| 644 | @ is escalated to exception | |
| 672 | rgb |
Json.php
| Type | Line | Description |
|---|---|---|
| 4 | nette.org) | |
| 5 | davidgrudl.com) | |
| 40 | since PHP 5.6.6 & PECL JSON-C 1.3.7 |
ObjectHelpers.php
| Type | Line | Description |
|---|---|---|
| 4 | nette.org) | |
| 5 | davidgrudl.com) | |
| 56 | called parent::$method() |
ObjectMixin.php
| Type | Line | Description |
|---|---|---|
| 4 | nette.org) | |
| 5 | davidgrudl.com) |
Paginator.php
| Type | Line | Description |
|---|---|---|
| 4 | nette.org) | |
| 5 | davidgrudl.com) |
Random.php
| Type | Line | Description |
|---|---|---|
| 4 | nette.org) | |
| 5 | davidgrudl.com) |
Reflection.php
| Type | Line | Description |
|---|---|---|
| 4 | nette.org) | |
| 5 | davidgrudl.com) | |
| 189 | doc-comment guessing as workaround for insufficient PHP reflection | |
| 205 | file & line guessing as workaround for insufficient PHP reflection | |
| 279 | fully qualified name |
Strings.php
| Type | Line | Description |
|---|---|---|
| 4 | nette.org) | |
| 5 | davidgrudl.com) | |
| 40 | removes xD800-xDFFF, x110000 and higher | |
| 56 | IGNORE', pack('N', $code)); | |
| 94 | MB is much faster | |
| 100 | unifies iconv_substr behavior with mb_substr | |
| 112 | convert to compressed normal form (NFC) | |
| 119 | remove control characters; leave \t + \n | |
| 122 | right trim | |
| 125 | leading and trailing blank lines | |
| 157 | remove control characters and check UTF-8 validity | |
| 160 | transliteration (by Transliterator and iconv) is not optimal, replace some characters directly | |
| 161 | „ “ ” ‚ ‘ ’ ° Я я Ю ю Ä Ö Ü ẞ ä ö ü ß | |
| 163 | ® © … « » £ ¥ ² ³ µ ¹ º ¿ ˊ ˍ ˝ ` € ™ ℮ ← ↑ → ↓ ↔ | |
| 168 | use iconv because The transliterator leaves some characters out of ASCII, eg → ʾ | |
| 170 | temporarily hide ? to distinguish them from the garbage that iconv creates | |
| 171 | TRANSLIT//IGNORE', $s); | |
| 172 | remove garbage and restore ? characters | |
| 174 | TRANSLIT//IGNORE', $s); | |
| 175 | null or 'unknown' (#216) | |
| 176 | remove non-ascii chars | |
| 179 | temporarily hide these characters to distinguish them from the garbage that iconv creates | |
| 182 | glibc implementation is very limited. transliterate into Windows-1250 and then into ASCII, so most Eastern European characters are preserved | |
| 183 | TRANSLIT//IGNORE', $s); | |
| 191 | TRANSLIT//IGNORE', $s); | |
| 193 | remove garbage that iconv creates during transliteration (eg Ý -> Y') | |
| 195 | restore temporarily hidden characters | |
| 198 | remove non-ascii chars | |
| 309 | form NFD is faster | |
| 310 | form NFD is faster | |
| 538 | compile-time error, not detectable by preg_last_error | |
| 542 | run-time error, but preg_last_error & return code are liars |
Validators.php
| Type | Line | Description |
|---|---|---|
| 4 | nette.org) | |
| 5 | davidgrudl.com) | |
| 24 | PHP types | |
| 37 | pseudo-types | |
| 47 | string patterns | |
| 58 | syntax validation | |
| 64 | environment validation | |
| 257 | intentionally == | |
| 310 | RFC 5322 unquoted characters in local-part | |
| 311 | superset of IDN | |
| 332 | ( |
Base32.php
| Type | Line | Description |
|---|---|---|
| 118 | if ($src > 96 && $src < 123) $ret += $src - 97 + 1; // -64 | |
| 121 | if ($src > 0x31 && $src < 0x38) $ret += $src - 24 + 1; // -23 | |
| 140 | if ($src > 64 && $src < 91) $ret += $src - 65 + 1; // -64 | |
| 143 | if ($src > 0x31 && $src < 0x38) $ret += $src - 24 + 1; // -23 | |
| 160 | if ($src > 25) $ret -= 72; | |
| 179 | if ($src > 25) $ret -= 40; | |
| 198 | We do this to reduce code duplication: | |
| 203 | Remove padding | |
| 230 | Main loop (no padding): | |
| 261 | The last chunk, which may have padding: | |
| 391 | We do this to reduce code duplication: | |
| 399 | Main loop (no padding): | |
| 418 | The last chunk, which may have padding: |
Base32Hex.php
| Type | Line | Description |
|---|---|---|
| 47 | if ($src > 0x30 && $src < 0x3a) ret += $src - 0x2e + 1; // -47 | |
| 50 | if ($src > 0x60 && $src < 0x77) ret += $src - 0x61 + 10 + 1; // -86 | |
| 67 | if ($src > 0x30 && $src < 0x3a) ret += $src - 0x2e + 1; // -47 | |
| 70 | if ($src > 0x40 && $src < 0x57) ret += $src - 0x41 + 10 + 1; // -54 | |
| 87 | if ($src > 0x39) $src += 0x61 - 0x3a; // 39 | |
| 106 | if ($src > 0x39) $src += 0x41 - 0x3a; // 7 |
Base64.php
| Type | Line | Description |
|---|---|---|
| 74 | Main loop (no padding): | |
| 88 | The last chunk, which may have padding: | |
| 128 | Remove padding | |
| 160 | Main loop (no padding): | |
| 177 | The last chunk, which may have padding: | |
| 228 | if ($src > 0x40 && $src < 0x5b) $ret += $src - 0x41 + 1; // -64 | |
| 231 | if ($src > 0x60 && $src < 0x7b) $ret += $src - 0x61 + 26 + 1; // -70 | |
| 234 | if ($src > 0x2f && $src < 0x3a) $ret += $src - 0x30 + 52 + 1; // 5 | |
| 237 | if ($src == 0x2b) $ret += 62 + 1; | |
| 240 | if ($src == 0x2f) ret += 63 + 1; | |
| 257 | if ($src > 25) $diff += 0x61 - 0x41 - 26; // 6 | |
| 260 | if ($src > 51) $diff += 0x30 - 0x61 - 26; // -75 | |
| 263 | if ($src > 61) $diff += 0x2b - 0x30 - 10; // -15 | |
| 266 | if ($src > 62) $diff += 0x2f - 0x2b - 1; // 3 |
Base64DotSlash.php
| Type | Line | Description |
|---|---|---|
| 51 | if ($src > 0x2d && $src < 0x30) ret += $src - 0x2e + 1; // -45 | |
| 54 | if ($src > 0x40 && $src < 0x5b) ret += $src - 0x41 + 2 + 1; // -62 | |
| 57 | if ($src > 0x60 && $src < 0x7b) ret += $src - 0x61 + 28 + 1; // -68 | |
| 60 | if ($src > 0x2f && $src < 0x3a) ret += $src - 0x30 + 54 + 1; // 7 | |
| 77 | if ($src > 0x2f) $src += 0x41 - 0x30; // 17 | |
| 80 | if ($src > 0x5a) $src += 0x61 - 0x5b; // 6 | |
| 83 | if ($src > 0x7a) $src += 0x30 - 0x7b; // -75 |
Base64DotSlashOrdered.php
| Type | Line | Description |
|---|---|---|
| 51 | if ($src > 0x2d && $src < 0x3a) ret += $src - 0x2e + 1; // -45 | |
| 54 | if ($src > 0x40 && $src < 0x5b) ret += $src - 0x41 + 12 + 1; // -52 | |
| 57 | if ($src > 0x60 && $src < 0x7b) ret += $src - 0x61 + 38 + 1; // -58 | |
| 74 | if ($src > 0x39) $src += 0x41 - 0x3a; // 7 | |
| 77 | if ($src > 0x5a) $src += 0x61 - 0x5b; // 6 |
Base64UrlSafe.php
| Type | Line | Description |
|---|---|---|
| 52 | if ($src > 0x40 && $src < 0x5b) $ret += $src - 0x41 + 1; // -64 | |
| 55 | if ($src > 0x60 && $src < 0x7b) $ret += $src - 0x61 + 26 + 1; // -70 | |
| 58 | if ($src > 0x2f && $src < 0x3a) $ret += $src - 0x30 + 52 + 1; // 5 | |
| 61 | if ($src == 0x2c) $ret += 62 + 1; | |
| 64 | if ($src == 0x5f) ret += 63 + 1; | |
| 81 | if ($src > 25) $diff += 0x61 - 0x41 - 26; // 6 | |
| 84 | if ($src > 51) $diff += 0x30 - 0x61 - 26; // -75 | |
| 87 | if ($src > 61) $diff += 0x2d - 0x30 - 10; // -13 | |
| 90 | if ($src > 62) $diff += 0x5f - 0x2b - 1; // 3 |
Binary.php
| Type | Line | Description |
|---|---|---|
| 78 | Unlike mb_substr(), substr() doesn't accept NULL for length |
EncodingTest.php
| Type | Line | Description |
|---|---|---|
| 218 | Re-run the test at least 3 times for each length | |
| 234 | Uppercase variant: |
RFC4648Test.php
| Type | Line | Description |
|---|---|---|
| 13 | tools.ietf.org/html/rfc4648#section-10 |
CornerInterface.php
| Type | Line | Description |
|---|---|---|
| 44 | URL |
CornerTrait.php
| Type | Line | Description |
|---|---|---|
| 54 | We're walking down the stack trace. | |
| 61 | We cannot excerpt this file. | |
| 84 | URL |
BasicTest.php
| Type | Line | Description |
|---|---|---|
| 20 | github.com/paragonie/corner', $ex->getSupportLink()); | |
| 31 | github.com/paragonie/corner', $ex->getSupportLink()); |
FooError.php
| Type | Line | Description |
|---|---|---|
| 17 | github.com/paragonie/corner"; |
FooException.php
| Type | Line | Description |
|---|---|---|
| 17 | github.com/paragonie/corner"; |
EasyDB.php
| Type | Line | Description |
|---|---|---|
| 157 | Don't allow foot-bullets | |
| 170 | Simple array for joining the strings together | |
| 226 | Don't allow foot-bullets | |
| 256 | stackoverflow.com/questions/10573922/what-does-the-sql-standard-say-about-usage-of-backtick | |
| 279 | This behavior depends on whether or not separators are allowed. | |
| 303 | MySQL allows weirdly wrong column names: | |
| 305 | The first character cannot be [0-9]: | |
| 342 | Default value: a sub-query that will return an empty set | |
| 345 | No arrays of arrays, please | |
| 351 | Build our array | |
| 433 | Backslash is used to escape wildcards. | |
| 435 | Standard wildcards are underscore and percent sign. | |
| 440 | MSSQL also includes character ranges. | |
| 641 | Escape the identifier to prevent stupidity | |
| 648 | We use prepared statements for handling the users' data | |
| 654 | We want the latest value: | |
| 719 | Now let's run a query with the parameters | |
| 1096 | The first set (pre WHERE) | |
| 1119 | The last set (post WHERE) | |
| 1172 | The first set (pre WHERE) | |
| 1253 | If we're starting a transaction, we don't need to catch here | |
| 1264 | If we started the transaction, we should commit here | |
| 1271 | If we started the transaction, we should cleanup here |
EasyStatement.php
| Type | Line | Description |
|---|---|---|
| 187 | Add a closed failure: | |
| 318 | (...) | |
| 325 | foo = ? | |
| 430 | Replace a grouped placeholder with an matching count of placeholders. |
MustBeArrayOrEasyStatement.php
| Type | Line | Description |
|---|---|---|
| 19 | github.com/paragonie/easydb'; |
MustBeNonEmpty.php
| Type | Line | Description |
|---|---|---|
| 19 | github.com/paragonie/easydb'; |
MustBeOneDimensionalArray.php
| Type | Line | Description |
|---|---|---|
| 20 | github.com/paragonie/easydb#only-one-dimensional-arrays-are-allowed'; |
Factory.php
| Type | Line | Description |
|---|---|---|
| 63 | Let's grab the DB engine | |
| 71 | If no charset is specified, default to UTF-8 | |
| 98 | Don't leak credentials directly if we can. |
EscapeIdentifierTest.php
| Type | Line | Description |
|---|---|---|
| 133 | resetting to default | |
| 145 | resetting to default |
EscapeLikeTest.php
| Type | Line | Description |
|---|---|---|
| 14 | input, expected | |
| 29 | This defines sqlite, but mysql and postgres share the same rules | |
| 40 | input, expected |
InsertManyFlatTransactionTest.php
| Type | Line | Description |
|---|---|---|
| 35 | we do nothing here on purpose |
PrepareTest.php
| Type | Line | Description |
|---|---|---|
| 30 | Let's make sure our keys are escaped. | |
| 40 | Now let's append a list of our columns. | |
| 43 | This is the middle piece. | |
| 46 | Now let's concatenate the ? placeholders | |
| 52 | Necessary to close the open ( above |
QuoteThenExecTest.php
| Type | Line | Description |
|---|---|---|
| 28 | Let's make sure our keys are escaped. | |
| 39 | Now let's append a list of our columns. | |
| 42 | This is the middle piece. | |
| 45 | Now let's concatenate the ? placeholders | |
| 56 | Necessary to close the open ( above |
QuoteThenExecThenLastInsertIdTest.php
| Type | Line | Description |
|---|---|---|
| 29 | Let's make sure our keys are escaped. | |
| 38 | Now let's append a list of our columns. | |
| 41 | This is the middle piece. | |
| 44 | Now let's concatenate the ? placeholders | |
| 55 | Necessary to close the open ( above |
QuoteThenQueryTest.php
| Type | Line | Description |
|---|---|---|
| 30 | Let's make sure our keys are escaped. | |
| 39 | Now let's append a list of our columns. | |
| 42 | This is the middle piece. | |
| 45 | Now let's concatenate the ? placeholders | |
| 56 | Necessary to close the open ( above |
autoload.php
| Type | Line | Description |
|---|---|---|
| 12 | Does the class use the namespace prefix? | |
| 15 | no, move to the next registered autoloader | |
| 19 | Get the relative class name | |
| 22 | Replace the namespace prefix with the base directory, replace namespace | |
| 23 | separators with directory separators in the relative class name, append | |
| 24 | with .php | |
| 32 | If the file exists, require it |
01-passwords.php
| Type | Line | Description |
|---|---|---|
| 8 | First, manage the keys |
CannotCloneKey.php
| Type | Line | Description |
|---|---|---|
| 10 | mozilla.org/MPL/2.0/. |
CannotPerformOperation.php
| Type | Line | Description |
|---|---|---|
| 10 | mozilla.org/MPL/2.0/. |
CannotSerializeKey.php
| Type | Line | Description |
|---|---|---|
| 10 | mozilla.org/MPL/2.0/. |
ConfigDirectiveNotFound.php
| Type | Line | Description |
|---|---|---|
| 10 | mozilla.org/MPL/2.0/. |
FileAccessDenied.php
| Type | Line | Description |
|---|---|---|
| 10 | mozilla.org/MPL/2.0/. |
FileError.php
| Type | Line | Description |
|---|---|---|
| 10 | mozilla.org/MPL/2.0/. |
FileModified.php
| Type | Line | Description |
|---|---|---|
| 10 | mozilla.org/MPL/2.0/. |
HaliteAlert.php
| Type | Line | Description |
|---|---|---|
| 10 | mozilla.org/MPL/2.0/. |
HaliteAlertInterface.php
| Type | Line | Description |
|---|---|---|
| 10 | mozilla.org/MPL/2.0/. |
InvalidDigestLength.php
| Type | Line | Description |
|---|---|---|
| 10 | mozilla.org/MPL/2.0/. |
InvalidFlags.php
| Type | Line | Description |
|---|---|---|
| 10 | mozilla.org/MPL/2.0/. |
InvalidKey.php
| Type | Line | Description |
|---|---|---|
| 10 | mozilla.org/MPL/2.0/. |
InvalidMessage.php
| Type | Line | Description |
|---|---|---|
| 10 | mozilla.org/MPL/2.0/. |
InvalidSalt.php
| Type | Line | Description |
|---|---|---|
| 10 | mozilla.org/MPL/2.0/. |
InvalidSignature.php
| Type | Line | Description |
|---|---|---|
| 10 | mozilla.org/MPL/2.0/. |
InvalidType.php
| Type | Line | Description |
|---|---|---|
| 10 | mozilla.org/MPL/2.0/. |
Crypto.php
| Type | Line | Description |
|---|---|---|
| 31 | php.net/manual/en/functions.returning-values.php#functions.returning-values.type-declaration | |
| 37 | mozilla.org/MPL/2.0/. | |
| 324 | @codeCoverageIgnoreStart | |
| 326 | @codeCoverageIgnoreEnd | |
| 357 | We were given hex data: | |
| 368 | Get a box keypair (needed by crypto_box_seal_open) | |
| 376 | Wipe these immediately: | |
| 380 | Now let's open that sealed box | |
| 386 | Always memzero after retrieving a value | |
| 389 | @codeCoverageIgnoreStart | |
| 393 | @codeCoverageIgnoreEnd | |
| 396 | We have our encrypted message here | |
| 422 | We were given hex data: | |
| 427 | @codeCoverageIgnoreStart | |
| 431 | @codeCoverageIgnoreEnd |
EncryptionPublicKey.php
| Type | Line | Description |
|---|---|---|
| 15 | mozilla.org/MPL/2.0/. |
EncryptionSecretKey.php
| Type | Line | Description |
|---|---|---|
| 15 | mozilla.org/MPL/2.0/. |
PublicKey.php
| Type | Line | Description |
|---|---|---|
| 14 | mozilla.org/MPL/2.0/. |
SecretKey.php
| Type | Line | Description |
|---|---|---|
| 14 | mozilla.org/MPL/2.0/. |
SignaturePublicKey.php
| Type | Line | Description |
|---|---|---|
| 15 | mozilla.org/MPL/2.0/. |
SignatureSecretKey.php
| Type | Line | Description |
|---|---|---|
| 15 | mozilla.org/MPL/2.0/. |
Config.php
| Type | Line | Description |
|---|---|---|
| 15 | php.net/manual/en/functions.returning-values.php#functions.returning-values.type-declaration | |
| 21 | mozilla.org/MPL/2.0/. |
StreamInterface.php
| Type | Line | Description |
|---|---|---|
| 18 | php.net/manual/en/functions.returning-values.php#functions.returning-values.type-declaration | |
| 24 | mozilla.org/MPL/2.0/. |
Cookie.php
| Type | Line | Description |
|---|---|---|
| 32 | php.net/manual/en/functions.returning-values.php#functions.returning-values.type-declaration | |
| 38 | mozilla.org/MPL/2.0/. | |
| 115 | This doesn't even have a header. |
EncryptionKeyPair.php
| Type | Line | Description |
|---|---|---|
| 20 | php.net/manual/en/functions.returning-values.php#functions.returning-values.type-declaration | |
| 26 | mozilla.org/MPL/2.0/. | |
| 69 | @codeCoverageIgnoreStart | |
| 75 | @codeCoverageIgnoreEnd | |
| 79 | @codeCoverageIgnoreStart | |
| 85 | @codeCoverageIgnoreEnd | |
| 103 | Ever heard of the Elliptic Curve Discrete Logarithm Problem? | |
| 109 | @codeCoverageIgnoreStart | |
| 115 | @codeCoverageIgnoreEnd |
File.php
| Type | Line | Description |
|---|---|---|
| 38 | php.net/manual/en/functions.returning-values.php#functions.returning-values.type-declaration | |
| 44 | mozilla.org/MPL/2.0/. | |
| 493 | 1. Initialize the hash context | |
| 495 | AuthenticationKey is for HMAC, but we can use it for keyed hashes too | |
| 501 | In version 2, we use the public key as a hash key | |
| 506 | @codeCoverageIgnoreStart | |
| 508 | @codeCoverageIgnoreEnd | |
| 519 | 2. Calculate the hash | |
| 522 | Don't go past the file size even if $config->BUFFER is not an even multiple of it: | |
| 526 | @codeCoverageIgnoreStart | |
| 528 | @codeCoverageIgnoreEnd | |
| 534 | 3. Do we want a raw checksum? | |
| 539 | @codeCoverageIgnoreStart | |
| 541 | @codeCoverageIgnoreEnd | |
| 547 | @codeCoverageIgnoreStart | |
| 549 | @codeCoverageIgnoreEnd | |
| 578 | Generate a nonce and HKDF salt | |
| 579 | @codeCoverageIgnoreStart | |
| 586 | @codeCoverageIgnoreEnd | |
| 588 | Let's split our key | |
| 591 | Write the header | |
| 605 | VERSION 2+ uses BMAC | |
| 650 | Rewind | |
| 653 | Make sure it's large enough to even read a version tag | |
| 659 | Parse the header, ensuring we get 4 bytes | |
| 662 | Load the config | |
| 665 | Is this shorter than an encrypted empty string? | |
| 672 | Let's grab the first nonce and salt | |
| 676 | Split our keys, begin the HMAC instance | |
| 679 | VERSION 2+ uses BMAC | |
| 736 | Generate a new keypair for this encryption | |
| 742 | Calculate the shared secret key | |
| 744 | @codeCoverageIgnoreStart | |
| 748 | @codeCoverageIgnoreEnd | |
| 750 | Destroy the secret key after we have the shared secret | |
| 753 | Load the configuration | |
| 756 | Generate a nonce as per crypto_box_seal | |
| 763 | Generate a random HKDF salt | |
| 766 | Split the keys | |
| 773 | Write the header: | |
| 787 | VERSION 2+ | |
| 790 | We no longer need $authKey after we set up the hash context | |
| 842 | Is the file at least as long as a header? | |
| 849 | Parse the header, ensuring we get 4 bytes | |
| 852 | Load the config | |
| 860 | Let's grab the public key and salt | |
| 864 | Generate the same nonce, as per sealData() | |
| 871 | Create a key object out of the public key: | |
| 881 | @codeCoverageIgnoreStart | |
| 885 | @codeCoverageIgnoreEnd | |
| 893 | We no longer need the original key after we split it | |
| 905 | We no longer need these: | |
| 1011 | @codeCoverageIgnoreStart | |
| 1015 | @codeCoverageIgnoreEnd | |
| 1032 | @codeCoverageIgnoreStart | |
| 1036 | @codeCoverageIgnoreEnd | |
| 1074 | If we reach here, we've got an invalid version tag: | |
| 1075 | @codeCoverageIgnoreStart | |
| 1079 | @codeCoverageIgnoreEnd | |
| 1119 | @codeCoverageIgnoreStart | |
| 1123 | @codeCoverageIgnoreEnd | |
| 1146 | @codeCoverageIgnoreStart | |
| 1150 | @codeCoverageIgnoreEnd | |
| 1215 | Begin the streaming decryption | |
| 1238 | Check that our input file was not modified before we MAC it | |
| 1240 | @codeCoverageIgnoreStart | |
| 1244 | @codeCoverageIgnoreEnd | |
| 1285 | Begin the streaming decryption | |
| 1298 | @codeCoverageIgnoreStart | |
| 1300 | @codeCoverageIgnoreEnd | |
| 1303 | Version 2+ uses a keyed BLAKE2b hash instead of HMAC | |
| 1310 | @codeCoverageIgnoreStart | |
| 1311 | Someone attempted to add a chunk at the end. | |
| 1315 | @codeCoverageIgnoreEnd | |
| 1320 | This chunk was altered after the original MAC was verified | |
| 1321 | @codeCoverageIgnoreStart | |
| 1325 | @codeCoverageIgnoreEnd | |
| 1329 | This is where the decryption actually occurs: | |
| 1367 | Grab the stored MAC: | |
| 1386 | @codeCoverageIgnoreStart | |
| 1388 | @codeCoverageIgnoreEnd | |
| 1396 | Copy the hash state then store the MAC of this chunk | |
| 1399 | @codeCoverageIgnoreStart | |
| 1401 | @codeCoverageIgnoreEnd | |
| 1410 | @codeCoverageIgnoreStart | |
| 1412 | @codeCoverageIgnoreEnd |
Halite.php
| Type | Line | Description |
|---|---|---|
| 29 | php.net/manual/en/functions.returning-values.php#functions.returning-values.type-declaration | |
| 35 | mozilla.org/MPL/2.0/. | |
| 153 | Require libsodium 1.0.15 |
Key.php
| Type | Line | Description |
|---|---|---|
| 19 | php.net/manual/en/functions.returning-values.php#functions.returning-values.type-declaration | |
| 25 | mozilla.org/MPL/2.0/. | |
| 79 | We exclude $this->keyMaterial |
KeyFactory.php
| Type | Line | Description |
|---|---|---|
| 33 | php.net/manual/en/functions.returning-values.php#functions.returning-values.type-declaration | |
| 39 | mozilla.org/MPL/2.0/. | |
| 43 | For key derivation security levels: | |
| 58 | @codeCoverageIgnoreStart | |
| 64 | @codeCoverageIgnoreEnd | |
| 80 | @codeCoverageIgnoreStart | |
| 86 | @codeCoverageIgnoreEnd | |
| 103 | Encryption keypair | |
| 107 | Let's wipe our $kp variable | |
| 126 | Encryption keypair | |
| 130 | Let's wipe our $kp variable | |
| 163 | VERSION 2+ (argon2) | |
| 165 | @codeCoverageIgnoreStart | |
| 169 | @codeCoverageIgnoreEnd | |
| 208 | VERSION 2+ (argon2) | |
| 210 | @codeCoverageIgnoreStart | |
| 214 | @codeCoverageIgnoreEnd | |
| 253 | VERSION 2+ (argon2) | |
| 255 | @codeCoverageIgnoreStart | |
| 259 | @codeCoverageIgnoreEnd | |
| 261 | Diffie Hellman key exchange key pair | |
| 273 | Let's wipe our $kp variable | |
| 306 | VERSION 2+ (argon2) | |
| 308 | @codeCoverageIgnoreStart | |
| 312 | @codeCoverageIgnoreEnd | |
| 314 | Digital signature keypair | |
| 326 | Let's wipe our $kp variable | |
| 351 | legacy opslimit and memlimit | |
| 360 | legacy opslimit and memlimit | |
| 369 | legacy opslimit and memlimit | |
| 817 | @codeCoverageIgnoreStart | |
| 821 | @codeCoverageIgnoreEnd | |
| 859 | @codeCoverageIgnoreStart | |
| 863 | @codeCoverageIgnoreEnd |
KeyPair.php
| Type | Line | Description |
|---|---|---|
| 18 | php.net/manual/en/functions.returning-values.php#functions.returning-values.type-declaration | |
| 24 | mozilla.org/MPL/2.0/. |
Password.php
| Type | Line | Description |
|---|---|---|
| 31 | php.net/manual/en/functions.returning-values.php#functions.returning-values.type-declaration | |
| 37 | mozilla.org/MPL/2.0/. | |
| 64 | First, let's calculate the hash | |
| 71 | Now let's encrypt the result | |
| 108 | First let's decrypt the hash | |
| 116 | Upon successful decryption, verify that we're using Argon2id | |
| 124 | Parse the cost parameters: | |
| 157 | This doesn't even have a header. | |
| 174 | @codeCoverageIgnoreStart | |
| 177 | @codeCoverageIgnoreEnd | |
| 204 | Base64-urlsafe encoded, so 4/3 the size of raw binary | |
| 210 | First let's decrypt the hash | |
| 212 | Upon successful decryption, verify the password is correct |
SignatureKeyPair.php
| Type | Line | Description |
|---|---|---|
| 20 | php.net/manual/en/functions.returning-values.php#functions.returning-values.type-declaration | |
| 26 | mozilla.org/MPL/2.0/. | |
| 68 | @codeCoverageIgnoreStart | |
| 74 | @codeCoverageIgnoreEnd | |
| 78 | @codeCoverageIgnoreStart | |
| 84 | @codeCoverageIgnoreEnd | |
| 102 | Ever heard of the Elliptic Curve Discrete Logarithm Problem? | |
| 108 | @codeCoverageIgnoreStart | |
| 114 | @codeCoverageIgnoreEnd |
MutableFile.php
| Type | Line | Description |
|---|---|---|
| 21 | php.net/manual/en/functions.returning-values.php#functions.returning-values.type-declaration | |
| 27 | mozilla.org/MPL/2.0/. | |
| 32 | PHP's fread() buffer is set to 8192 by default | |
| 70 | Make the file exist | |
| 83 | @codeCoverageIgnoreStart | |
| 89 | @codeCoverageIgnoreEnd | |
| 176 | @codeCoverageIgnoreStart | |
| 185 | @codeCoverageIgnoreEnd | |
| 190 | @codeCoverageIgnoreStart | |
| 192 | @codeCoverageIgnoreEnd | |
| 198 | @codeCoverageIgnoreStart | |
| 202 | @codeCoverageIgnoreEnd | |
| 266 | @codeCoverageIgnoreStart | |
| 270 | @codeCoverageIgnoreEnd | |
| 273 | @codeCoverageIgnoreStart | |
| 277 | @codeCoverageIgnoreEnd | |
| 280 | @codeCoverageIgnoreStart | |
| 284 | @codeCoverageIgnoreEnd |
ReadOnlyFile.php
| Type | Line | Description |
|---|---|---|
| 22 | php.net/manual/en/functions.returning-values.php#functions.returning-values.type-declaration | |
| 28 | mozilla.org/MPL/2.0/. | |
| 33 | PHP's fread() buffer is set to 8192 by default | |
| 87 | @codeCoverageIgnoreStart | |
| 93 | @codeCoverageIgnoreEnd | |
| 115 | @codeCoverageIgnoreStart | |
| 119 | @codeCoverageIgnoreEnd | |
| 163 | Create a hash context: | |
| 175 | @codeCoverageIgnoreStart | |
| 177 | @codeCoverageIgnoreEnd | |
| 181 | Reset the file pointer's internal cursor to where it was: | |
| 233 | @codeCoverageIgnoreStart | |
| 243 | @codeCoverageIgnoreEnd | |
| 249 | @codeCoverageIgnoreStart | |
| 253 | @codeCoverageIgnoreEnd | |
| 257 | @codeCoverageIgnoreStart | |
| 261 | @codeCoverageIgnoreEnd | |
| 298 | @codeCoverageIgnoreStart | |
| 302 | @codeCoverageIgnoreEnd | |
| 316 | @codeCoverageIgnoreStart | |
| 320 | @codeCoverageIgnoreEnd | |
| 357 | The resource is remote or a stream wrapper like php://input |
MerkleTree.php
| Type | Line | Description |
|---|---|---|
| 21 | php.net/manual/en/functions.returning-values.php#functions.returning-values.type-declaration | |
| 27 | mozilla.org/MPL/2.0/. | |
| 188 | Population (Use self::MERKLE_LEAF as a prefix) | |
| 209 | Calculation (Use self::MERKLE_BRANCH as a prefix) | |
| 218 | @codeCoverageIgnoreStart | |
| 226 | @codeCoverageIgnoreEnd | |
| 242 | We should only have one value left:t |
Node.php
| Type | Line | Description |
|---|---|---|
| 14 | php.net/manual/en/functions.returning-values.php#functions.returning-values.type-declaration | |
| 20 | mozilla.org/MPL/2.0/. |
TrimmedMerkleTree.php
| Type | Line | Description |
|---|---|---|
| 23 | php.net/manual/en/functions.returning-values.php#functions.returning-values.type-declaration | |
| 29 | mozilla.org/MPL/2.0/. | |
| 51 | Population (Use self::MERKLE_LEAF as a prefix) | |
| 62 | Calculation (Use self::MERKLE_BRANCH as a prefix) | |
| 85 | We should only have one value left: |
AuthenticationKey.php
| Type | Line | Description |
|---|---|---|
| 15 | mozilla.org/MPL/2.0/. |
Config.php
| Type | Line | Description |
|---|---|---|
| 20 | php.net/manual/en/functions.returning-values.php#functions.returning-values.type-declaration | |
| 26 | mozilla.org/MPL/2.0/. |
Crypto.php
| Type | Line | Description |
|---|---|---|
| 29 | php.net/manual/en/functions.returning-values.php#functions.returning-values.type-declaration | |
| 35 | mozilla.org/MPL/2.0/. | |
| 138 | We were given encoded data: | |
| 139 | @codeCoverageIgnoreStart | |
| 148 | @codeCoverageIgnoreEnd | |
| 180 | Check the MAC first | |
| 182 | @codeCoverageIgnoreStart | |
| 189 | @codeCoverageIgnoreEnd | |
| 200 | crypto_stream_xor() can be used to encrypt and decrypt | |
| 265 | Generate a nonce and HKDF salt: | |
| 266 | @codeCoverageIgnoreStart | |
| 273 | @codeCoverageIgnoreEnd | |
| 283 | Encrypt our message with the encryption key: | |
| 291 | Calculate an authentication tag: | |
| 302 | Wipe every superfluous piece of data from memory | |
| 367 | Fail fast on invalid messages | |
| 374 | The first 4 bytes are reserved for the version size | |
| 388 | The salt is used for key splitting (via HKDF) | |
| 395 | This is the nonce (we authenticated it): | |
| 398 | 36: | |
| 400 | 24: | |
| 404 | This is the crypto_stream_xor()ed ciphertext | |
| 407 | 60: | |
| 411 | $length - 124 | |
| 420 | $auth is the last 32 bytes | |
| 426 | We don't need this anymore. | |
| 429 | Now we return the pieces in a specific order: | |
| 458 | We were given hex data: | |
| 463 | Default to the current version | |
| 476 | @codeCoverageIgnoreStart | |
| 479 | @codeCoverageIgnoreEnd | |
| 505 | @codeCoverageIgnoreStart | |
| 509 | @codeCoverageIgnoreEnd | |
| 533 | @codeCoverageIgnoreStart | |
| 537 | @codeCoverageIgnoreEnd | |
| 549 | @codeCoverageIgnoreStart | |
| 553 | @codeCoverageIgnoreEnd |
EncryptionKey.php
| Type | Line | Description |
|---|---|---|
| 15 | mozilla.org/MPL/2.0/. |
SecretKey.php
| Type | Line | Description |
|---|---|---|
| 13 | mozilla.org/MPL/2.0/. |
Util.php
| Type | Line | Description |
|---|---|---|
| 23 | php.net/manual/en/functions.returning-values.php#functions.returning-values.type-declaration | |
| 29 | mozilla.org/MPL/2.0/. | |
| 100 | tools.ietf.org/html/rfc5869 | |
| 124 | Sanity-check the desired output length. | |
| 130 | "If [salt] not provided, is set to a string of HashLen zeroes." | |
| 132 | @codeCoverageIgnoreStart | |
| 134 | @codeCoverageIgnoreEnd | |
| 137 | HKDF-Extract: | |
| 138 | PRK = HMAC-Hash(salt, IKM) | |
| 139 | The salt is the HMAC key. | |
| 142 | HKDF-Expand: | |
| 143 | This check is useless, but it serves as a reminder to the spec. | |
| 144 | @codeCoverageIgnoreStart | |
| 150 | @codeCoverageIgnoreEnd | |
| 151 | T(0) = '' | |
| 155 | T(i) = HMAC-Hash(PRK, T(i-1) | info | 0x??) | |
| 160 | T = T(1) | T(2) | T(3) | ... | T(N) | |
| 163 | ORM = first L octets of T | |
| 334 | Best-effort: |
random_audit.php
| Type | Line | Description |
|---|---|---|
| 29 | Prevent . and .. from being treated as valid files: |
AsymmetricTest.php
| Type | Line | Description |
|---|---|---|
| 275 | Let's flip one bit, randomly: | |
| 280 | This should throw an exception | |
| 334 | http://time.com/4261796/tim-cook-transcript/ | |
| 348 | Now with a signature key pair: | |
| 377 | http://time.com/4261796/tim-cook-transcript/ | |
| 379 | Instead of a signature, it's 64 random bytes | |
| 400 | http://time.com/4261796/tim-cook-transcript/ | |
| 462 | Let's flip one bit, randomly: |
FileTest.php
| Type | Line | Description |
|---|---|---|
| 368 | paragon_avatar.png', 'rb')); | |
| 733 | No exceptions: | |
| 771 | output', 'wb'); |
HaliteTest.php
| Type | Line | Description |
|---|---|---|
| 36 | Backwards compatibility: | |
| 48 | New encoding in version 3: |
KeyPairTest.php
| Type | Line | Description |
|---|---|---|
| 43 | Can this be used? | |
| 89 | Can this be used? |
KeyTest.php
| Type | Line | Description |
|---|---|---|
| 45 | Issue #10 | |
| 92 | Issue #10 | |
| 124 | Can this be used? | |
| 165 | Can this be used? |
PasswordTest.php
| Type | Line | Description |
|---|---|---|
| 171 | Sorry version 1, you get no love from us anymore. |
SymmetricTest.php
| Type | Line | Description |
|---|---|---|
| 47 | Test invalid message | |
| 61 | Test invalid signature | |
| 249 | Randomly sized plaintext | |
| 258 | Let's unpack our message | |
| 261 | Now to test our expected results! |
UtilTest.php
| Type | Line | Description |
|---|---|---|
| 16 | opensource.org/licenses/GPL-3.0 GPL 3 | |
| 17 | paragonie.com/project/halite | |
| 134 | Let's change the IKM | |
| 139 | Let's change the info | |
| 144 | Let's change the salt | |
| 173 | See issue #97 |
HiddenString.php
| Type | Line | Description |
|---|---|---|
| 20 | mozilla.org/MPL/2.0/. | |
| 110 | Last-ditch attempt to wipe existing values if libsodium is not | |
| 111 | available. Don't rely on this. |
byte_safe_strings.php
| Type | Line | Description |
|---|---|---|
| 130 | Consistency with PHP's behavior |
error_polyfill.php
| Type | Line | Description |
|---|---|---|
| 30 | We can't really avoid making this extend Exception in PHP 5. |
random.php
| Type | Line | Description |
|---|---|---|
| 33 | This constant was introduced in PHP 5.2.7 | |
| 77 | See random_bytes_libsodium.php | |
| 89 | DIRECTORY_SEPARATOR === '/' on Unix-like OSes -- this is a fast | |
| 90 | way to exclude Windows. | |
| 113 | Error suppression on is_readable() in case of an open_basedir | |
| 114 | or safe_mode failure. All we care about is whether or not we | |
| 115 | can read it at this point. If the PHP environment is going to | |
| 116 | panic over trying to see if the file can be read in the first | |
| 117 | place, that is not helpful to us here. | |
| 119 | See random_bytes_dev_urandom.php | |
| 122 | Unset variables after use | |
| 149 | Windows on PHP < 5.3.7 is broken, but non-Windows is not known to be. | |
| 152 | Prevent this code from hanging indefinitely on non-Windows; | |
| 153 | see https://bugs.php.net/bug.php?id=69833 | |
| 161 | See random_bytes_mcrypt.php | |
| 187 | See random_bytes_com_dotnet.php | |
| 191 | Don't try to use it. | |
| 213 | Suppress "variable not used" warnings. |
random_bytes_dev_urandom.php
| Type | Line | Description |
|---|---|---|
| 39 | www.2uo.de/myths-about-urandom | |
| 40 | sockpuppet.org/blog/2014/02/25/safely-generate-random-numbers |
random_bytes_libsodium.php
| Type | Line | Description |
|---|---|---|
| 35 | github.com/jedisct1/libsodium-php |
random_bytes_libsodium_legacy.php
| Type | Line | Description |
|---|---|---|
| 35 | github.com/jedisct1/libsodium-php |
random_bytes_mcrypt.php
| Type | Line | Description |
|---|---|---|
| 33 | bugs.php.net/bug.php?id=55169 | |
| 34 | github.com/php/php-src/blob/c568ffe5171d942161fc8dda066bce844bdef676/ext/mcrypt/mcrypt.c#L1321-L1386 |
random_int.php
| Type | Line | Description |
|---|---|---|
| 119 | gist.github.com/CodesInChaos/03f9ea0b58e8b2b8d435 | |
| 123 | eval.in/400356 (32-bit) | |
| 124 | 3v4l.org/XX9r5 (64-bit) |
autoload-php7.php
| Type | Line | Description |
|---|---|---|
| 11 | Does the class use the namespace prefix? | |
| 14 | no, move to the next registered autoloader | |
| 18 | Get the relative class name | |
| 21 | Replace the namespace prefix with the base directory, replace namespace | |
| 22 | separators with directory separators in the relative class name, append | |
| 23 | with .php | |
| 25 | if the file exists, require it |
autoload.php
| Type | Line | Description |
|---|---|---|
| 15 | Does the class use the namespace prefix? | |
| 18 | no, move to the next registered autoloader | |
| 22 | Get the relative class name | |
| 25 | Replace the namespace prefix with the base directory, replace namespace | |
| 26 | separators with directory separators in the relative class name, append | |
| 27 | with .php | |
| 29 | if the file exists, require it | |
| 37 | Now that we have an autoloader, let's register it! | |
| 51 | Namespaces didn't exist before 5.3.0, so don't even try to use this | |
| 52 | unless PHP >= 5.3.0 | |
| 69 | Older versions of {PHP, ext/sodium} will not define these |
namespaced.php
| Type | Line | Description |
|---|---|---|
| 28 | Does the class use the namespace prefix? | |
| 31 | no, move to the next registered autoloader | |
| 35 | Get the relative class name | |
| 38 | Replace the namespace prefix with the base directory, replace namespace | |
| 39 | separators with directory separators in the relative class name, append | |
| 40 | with .php | |
| 42 | if the file exists, require it |
Compat.php
| Type | Line | Description |
|---|---|---|
| 53 | From libsodium | |
| 195 | Just strip before decoding | |
| 319 | OpenSSL doesn't support AEAD before 7.1.0 | |
| 323 | OpenSSL isn't installed | |
| 1945 | This is the best we can do. | |
| 1991 | This is the best we can do. | |
| 2012 | Just grab the first 4 pieces. | |
| 2016 | Rebuild the expected header. | |
| 2023 | Do they match? If so, we don't need to rehash, so return false. | |
| 2046 | This is the best we can do. | |
| 2089 | This is the best we can do. | |
| 2143 | This is the best we can do. | |
| 2174 | This is the best we can do. | |
| 3340 | This is the best we can do. | |
| 3915 | No libsodium installed | |
| 3919 | Don't fallback. Use the PHP implementation. | |
| 3932 | wiki.php.net/rfc/libsodium | |
| 3942 | Don't fallback. Use the PHP implementation. |
Common.php
| Type | Line | Description |
|---|---|---|
| 53 | Main loop (no padding): | |
| 67 | The last chunk, which may have padding: | |
| 107 | Remove padding | |
| 139 | Main loop (no padding): | |
| 156 | The last chunk, which may have padding: |
Original.php
| Type | Line | Description |
|---|---|---|
| 11 | COPY ParagonIE_Sodium_Core_Base64_Common STARTING HERE | |
| 50 | Main loop (no padding): | |
| 64 | The last chunk, which may have padding: | |
| 104 | Remove padding | |
| 136 | Main loop (no padding): | |
| 153 | The last chunk, which may have padding: | |
| 188 | COPY ParagonIE_Sodium_Core_Base64_Common ENDING HERE | |
| 205 | if ($src > 0x40 && $src < 0x5b) $ret += $src - 0x41 + 1; // -64 | |
| 208 | if ($src > 0x60 && $src < 0x7b) $ret += $src - 0x61 + 26 + 1; // -70 | |
| 211 | if ($src > 0x2f && $src < 0x3a) $ret += $src - 0x30 + 52 + 1; // 5 | |
| 214 | if ($src == 0x2b) $ret += 62 + 1; | |
| 217 | if ($src == 0x2f) ret += 63 + 1; | |
| 234 | if ($src > 25) $diff += 0x61 - 0x41 - 26; // 6 | |
| 237 | if ($src > 51) $diff += 0x30 - 0x61 - 26; // -75 | |
| 240 | if ($src > 61) $diff += 0x2b - 0x30 - 10; // -15 | |
| 243 | if ($src > 62) $diff += 0x2f - 0x2b - 1; // 3 |
UrlSafe.php
| Type | Line | Description |
|---|---|---|
| 11 | COPY ParagonIE_Sodium_Core_Base64_Common STARTING HERE | |
| 50 | Main loop (no padding): | |
| 64 | The last chunk, which may have padding: | |
| 104 | Remove padding | |
| 136 | Main loop (no padding): | |
| 153 | The last chunk, which may have padding: | |
| 188 | COPY ParagonIE_Sodium_Core_Base64_Common ENDING HERE | |
| 204 | if ($src > 0x40 && $src < 0x5b) $ret += $src - 0x41 + 1; // -64 | |
| 207 | if ($src > 0x60 && $src < 0x7b) $ret += $src - 0x61 + 26 + 1; // -70 | |
| 210 | if ($src > 0x2f && $src < 0x3a) $ret += $src - 0x30 + 52 + 1; // 5 | |
| 213 | if ($src == 0x2c) $ret += 62 + 1; | |
| 216 | if ($src == 0x5f) ret += 63 + 1; | |
| 233 | if ($src > 25) $diff += 0x61 - 0x41 - 26; // 6 | |
| 236 | if ($src > 51) $diff += 0x30 - 0x61 - 26; // -75 | |
| 239 | if ($src > 61) $diff += 0x2d - 0x30 - 10; // -13 | |
| 242 | if ($src > 62) $diff += 0x5f - 0x2b - 1; // 3 |
BLAKE2b.php
| Type | Line | Description |
|---|---|---|
| 303 | h | |
| 304 | t | |
| 305 | f | |
| 306 | buf | |
| 307 | buflen | |
| 308 | last_node (uint8_t) | |
| 588 | Zero our param buffer... | |
| 593 | digest_length | |
| 594 | key_length | |
| 595 | fanout | |
| 596 | depth | |
| 599 | salt: [32] through [47] | |
| 605 | personal: [48] through [63] | |
| 616 | We need to do what blake2b_init_param() does: |
Curve25519.php
| Type | Line | Description |
|---|---|---|
| 14 | github.com/jedisct1/libsodium/blob/master/src/libsodium/crypto_core/curve25519/ref10/curve25519_ref10.c | |
| 1092 | github.com/jedisct1/libsodium/blob/68564326e1e9dc57ef03746f85734232d20ca6fb/src/libsodium/crypto_core/curve25519/ref10/curve25519_ref10.c#L1054-L1106 | |
| 1275 | github.com/jedisct1/libsodium/blob/157c4a80c13b117608aeae12178b2d38825f9f8f/src/libsodium/crypto_core/curve25519/ref10/curve25519_ref10.c#L1185-L1215 | |
| 1719 | const unsigned char bnegative = negative(b); | |
| 1720 | const unsigned char babs = b - (((-bnegative) & b) * ((signed char) 1 << 1)); | |
| 1724 | ge25519_cached_0(t); | |
| 1732 | ge25519_cmov_cached(t, &cached[0], equal(babs, 1)); | |
| 1733 | ge25519_cmov_cached(t, &cached[1], equal(babs, 2)); | |
| 1734 | ge25519_cmov_cached(t, &cached[2], equal(babs, 3)); | |
| 1735 | ge25519_cmov_cached(t, &cached[3], equal(babs, 4)); | |
| 1736 | ge25519_cmov_cached(t, &cached[4], equal(babs, 5)); | |
| 1737 | ge25519_cmov_cached(t, &cached[5], equal(babs, 6)); | |
| 1738 | ge25519_cmov_cached(t, &cached[6], equal(babs, 7)); | |
| 1739 | ge25519_cmov_cached(t, &cached[7], equal(babs, 8)); | |
| 1744 | fe25519_copy(minust.YplusX, t->YminusX); | |
| 1745 | fe25519_copy(minust.YminusX, t->YplusX); | |
| 1746 | fe25519_copy(minust.Z, t->Z); | |
| 1747 | fe25519_neg(minust.T2d, t->T2d); | |
| 2011 | ge25519_p3_to_cached(&pi[1 - 1], p); /* p */ | |
| 2014 | ge25519_p3_dbl(&t2, p); | |
| 2015 | ge25519_p1p1_to_p3(&p2, &t2); | |
| 2016 | ge25519_p3_to_cached(&pi[2 - 1], &p2); /* 2p = 2*p */ | |
| 2021 | ge25519_add_cached(&t3, p, &pi[2 - 1]); | |
| 2022 | ge25519_p1p1_to_p3(&p3, &t3); | |
| 2023 | ge25519_p3_to_cached(&pi[3 - 1], &p3); /* 3p = 2p+p */ | |
| 2028 | ge25519_p3_dbl(&t4, &p2); | |
| 2029 | ge25519_p1p1_to_p3(&p4, &t4); | |
| 2030 | ge25519_p3_to_cached(&pi[4 - 1], &p4); /* 4p = 2*2p */ | |
| 2035 | ge25519_add_cached(&t5, p, &pi[4 - 1]); | |
| 2036 | ge25519_p1p1_to_p3(&p5, &t5); | |
| 2037 | ge25519_p3_to_cached(&pi[5 - 1], &p5); /* 5p = 4p+p */ | |
| 2042 | ge25519_p3_dbl(&t6, &p3); | |
| 2043 | ge25519_p1p1_to_p3(&p6, &t6); | |
| 2044 | ge25519_p3_to_cached(&pi[6 - 1], &p6); /* 6p = 2*3p */ | |
| 2049 | ge25519_add_cached(&t7, p, &pi[6 - 1]); | |
| 2050 | ge25519_p1p1_to_p3(&p7, &t7); | |
| 2051 | ge25519_p3_to_cached(&pi[7 - 1], &p7); /* 7p = 6p+p */ | |
| 2056 | ge25519_p3_dbl(&t8, &p4); | |
| 2057 | ge25519_p1p1_to_p3(&p8, &t8); | |
| 2058 | ge25519_p3_to_cached(&pi[8 - 1], &p8); /* 8p = 2*4p */ | |
| 2064 | for (i = 0; i < 32; ++i) { | |
| 2065 | e[2 * i + 0] = (a[i] >> 0) & 15; | |
| 2066 | e[2 * i + 1] = (a[i] >> 4) & 15; | |
| 2067 | } | |
| 2072 | /* each e[i] is between 0 and 15 */ | |
| 2073 | /* e[63] is between 0 and 7 */ | |
| 2075 | carry = 0; | |
| 2076 | for (i = 0; i < 63; ++i) { | |
| 2077 | e[i] += carry; | |
| 2078 | carry = e[i] + 8; | |
| 2079 | carry >>= 4; | |
| 2080 | e[i] -= carry * ((signed char) 1 << 4); | |
| 2081 | } | |
| 2089 | e[63] += carry; | |
| 2090 | /* each e[i] is between -8 and 8 */ | |
| 2093 | ge25519_p3_0(h); | |
| 2096 | for (i = 63; i != 0; i--) { | |
| 2098 | ge25519_cmov8_cached(&t, pi, e[i]); | |
| 2100 | ge25519_add_cached(&r, h, &t); | |
| 2103 | ge25519_p1p1_to_p2(&s, &r); | |
| 2104 | ge25519_p2_dbl(&r, &s); | |
| 2105 | ge25519_p1p1_to_p2(&s, &r); | |
| 2106 | ge25519_p2_dbl(&r, &s); | |
| 2107 | ge25519_p1p1_to_p2(&s, &r); | |
| 2108 | ge25519_p2_dbl(&r, &s); | |
| 2109 | ge25519_p1p1_to_p2(&s, &r); | |
| 2110 | ge25519_p2_dbl(&r, &s); | |
| 2120 | ge25519_p1p1_to_p3(h, &r); /* *16 */ | |
| 2124 | ge25519_cmov8_cached(&t, pi, e[i]); | |
| 2125 | ge25519_add_cached(&r, h, &t); | |
| 2126 | ge25519_p1p1_to_p3(h, &r); | |
| 3214 | int64_t a0 = 2097151 & load_3(a); | |
| 3215 | int64_t a1 = 2097151 & (load_4(a + 2) >> 5); | |
| 3216 | int64_t a2 = 2097151 & (load_3(a + 5) >> 2); | |
| 3217 | int64_t a3 = 2097151 & (load_4(a + 7) >> 7); | |
| 3218 | int64_t a4 = 2097151 & (load_4(a + 10) >> 4); | |
| 3219 | int64_t a5 = 2097151 & (load_3(a + 13) >> 1); | |
| 3220 | int64_t a6 = 2097151 & (load_4(a + 15) >> 6); | |
| 3221 | int64_t a7 = 2097151 & (load_3(a + 18) >> 3); | |
| 3222 | int64_t a8 = 2097151 & load_3(a + 21); | |
| 3223 | int64_t a9 = 2097151 & (load_4(a + 23) >> 5); | |
| 3224 | int64_t a10 = 2097151 & (load_3(a + 26) >> 2); | |
| 3225 | int64_t a11 = (load_4(a + 28) >> 7); | |
| 3239 | int64_t b0 = 2097151 & load_3(b); | |
| 3240 | int64_t b1 = 2097151 & (load_4(b + 2) >> 5); | |
| 3241 | int64_t b2 = 2097151 & (load_3(b + 5) >> 2); | |
| 3242 | int64_t b3 = 2097151 & (load_4(b + 7) >> 7); | |
| 3243 | int64_t b4 = 2097151 & (load_4(b + 10) >> 4); | |
| 3244 | int64_t b5 = 2097151 & (load_3(b + 13) >> 1); | |
| 3245 | int64_t b6 = 2097151 & (load_4(b + 15) >> 6); | |
| 3246 | int64_t b7 = 2097151 & (load_3(b + 18) >> 3); | |
| 3247 | int64_t b8 = 2097151 & load_3(b + 21); | |
| 3248 | int64_t b9 = 2097151 & (load_4(b + 23) >> 5); | |
| 3249 | int64_t b10 = 2097151 & (load_3(b + 26) >> 2); | |
| 3250 | int64_t b11 = (load_4(b + 28) >> 7); | |
| 3264 | s0 = a0 * b0; | |
| 3265 | s1 = a0 * b1 + a1 * b0; | |
| 3266 | s2 = a0 * b2 + a1 * b1 + a2 * b0; | |
| 3267 | s3 = a0 * b3 + a1 * b2 + a2 * b1 + a3 * b0; | |
| 3268 | s4 = a0 * b4 + a1 * b3 + a2 * b2 + a3 * b1 + a4 * b0; | |
| 3269 | s5 = a0 * b5 + a1 * b4 + a2 * b3 + a3 * b2 + a4 * b1 + a5 * b0; | |
| 3270 | s6 = a0 * b6 + a1 * b5 + a2 * b4 + a3 * b3 + a4 * b2 + a5 * b1 + a6 * b0; | |
| 3271 | s7 = a0 * b7 + a1 * b6 + a2 * b5 + a3 * b4 + a4 * b3 + a5 * b2 + | |
| 3272 | a6 * b1 + a7 * b0; | |
| 3273 | s8 = a0 * b8 + a1 * b7 + a2 * b6 + a3 * b5 + a4 * b4 + a5 * b3 + | |
| 3274 | a6 * b2 + a7 * b1 + a8 * b0; | |
| 3275 | s9 = a0 * b9 + a1 * b8 + a2 * b7 + a3 * b6 + a4 * b5 + a5 * b4 + | |
| 3276 | a6 * b3 + a7 * b2 + a8 * b1 + a9 * b0; | |
| 3277 | s10 = a0 * b10 + a1 * b9 + a2 * b8 + a3 * b7 + a4 * b6 + a5 * b5 + | |
| 3278 | a6 * b4 + a7 * b3 + a8 * b2 + a9 * b1 + a10 * b0; | |
| 3279 | s11 = a0 * b11 + a1 * b10 + a2 * b9 + a3 * b8 + a4 * b7 + a5 * b6 + | |
| 3280 | a6 * b5 + a7 * b4 + a8 * b3 + a9 * b2 + a10 * b1 + a11 * b0; | |
| 3281 | s12 = a1 * b11 + a2 * b10 + a3 * b9 + a4 * b8 + a5 * b7 + a6 * b6 + | |
| 3282 | a7 * b5 + a8 * b4 + a9 * b3 + a10 * b2 + a11 * b1; | |
| 3283 | s13 = a2 * b11 + a3 * b10 + a4 * b9 + a5 * b8 + a6 * b7 + a7 * b6 + | |
| 3284 | a8 * b5 + a9 * b4 + a10 * b3 + a11 * b2; | |
| 3285 | s14 = a3 * b11 + a4 * b10 + a5 * b9 + a6 * b8 + a7 * b7 + a8 * b6 + | |
| 3286 | a9 * b5 + a10 * b4 + a11 * b3; | |
| 3287 | s15 = a4 * b11 + a5 * b10 + a6 * b9 + a7 * b8 + a8 * b7 + a9 * b6 + | |
| 3288 | a10 * b5 + a11 * b4; | |
| 3289 | s16 = | |
| 3290 | a5 * b11 + a6 * b10 + a7 * b9 + a8 * b8 + a9 * b7 + a10 * b6 + a11 * b5; | |
| 3291 | s17 = a6 * b11 + a7 * b10 + a8 * b9 + a9 * b8 + a10 * b7 + a11 * b6; | |
| 3292 | s18 = a7 * b11 + a8 * b10 + a9 * b9 + a10 * b8 + a11 * b7; | |
| 3293 | s19 = a8 * b11 + a9 * b10 + a10 * b9 + a11 * b8; | |
| 3294 | s20 = a9 * b11 + a10 * b10 + a11 * b9; | |
| 3295 | s21 = a10 * b11 + a11 * b10; | |
| 3296 | s22 = a11 * b11; | |
| 3297 | s23 = 0; | |
| 3347 | carry0 = (s0 + (int64_t) (1L << 20)) >> 21; | |
| 3348 | s1 += carry0; | |
| 3349 | s0 -= carry0 * ((uint64_t) 1L << 21); | |
| 3353 | carry2 = (s2 + (int64_t) (1L << 20)) >> 21; | |
| 3354 | s3 += carry2; | |
| 3355 | s2 -= carry2 * ((uint64_t) 1L << 21); | |
| 3359 | carry4 = (s4 + (int64_t) (1L << 20)) >> 21; | |
| 3360 | s5 += carry4; | |
| 3361 | s4 -= carry4 * ((uint64_t) 1L << 21); | |
| 3365 | carry6 = (s6 + (int64_t) (1L << 20)) >> 21; | |
| 3366 | s7 += carry6; | |
| 3367 | s6 -= carry6 * ((uint64_t) 1L << 21); | |
| 3371 | carry8 = (s8 + (int64_t) (1L << 20)) >> 21; | |
| 3372 | s9 += carry8; | |
| 3373 | s8 -= carry8 * ((uint64_t) 1L << 21); | |
| 3377 | carry10 = (s10 + (int64_t) (1L << 20)) >> 21; | |
| 3378 | s11 += carry10; | |
| 3379 | s10 -= carry10 * ((uint64_t) 1L << 21); | |
| 3383 | carry12 = (s12 + (int64_t) (1L << 20)) >> 21; | |
| 3384 | s13 += carry12; | |
| 3385 | s12 -= carry12 * ((uint64_t) 1L << 21); | |
| 3389 | carry14 = (s14 + (int64_t) (1L << 20)) >> 21; | |
| 3390 | s15 += carry14; | |
| 3391 | s14 -= carry14 * ((uint64_t) 1L << 21); | |
| 3395 | carry16 = (s16 + (int64_t) (1L << 20)) >> 21; | |
| 3396 | s17 += carry16; | |
| 3397 | s16 -= carry16 * ((uint64_t) 1L << 21); | |
| 3401 | carry18 = (s18 + (int64_t) (1L << 20)) >> 21; | |
| 3402 | s19 += carry18; | |
| 3403 | s18 -= carry18 * ((uint64_t) 1L << 21); | |
| 3407 | carry20 = (s20 + (int64_t) (1L << 20)) >> 21; | |
| 3408 | s21 += carry20; | |
| 3409 | s20 -= carry20 * ((uint64_t) 1L << 21); | |
| 3413 | carry22 = (s22 + (int64_t) (1L << 20)) >> 21; | |
| 3414 | s23 += carry22; | |
| 3415 | s22 -= carry22 * ((uint64_t) 1L << 21); | |
| 3420 | carry1 = (s1 + (int64_t) (1L << 20)) >> 21; | |
| 3421 | s2 += carry1; | |
| 3422 | s1 -= carry1 * ((uint64_t) 1L << 21); | |
| 3426 | carry3 = (s3 + (int64_t) (1L << 20)) >> 21; | |
| 3427 | s4 += carry3; | |
| 3428 | s3 -= carry3 * ((uint64_t) 1L << 21); | |
| 3432 | carry5 = (s5 + (int64_t) (1L << 20)) >> 21; | |
| 3433 | s6 += carry5; | |
| 3434 | s5 -= carry5 * ((uint64_t) 1L << 21); | |
| 3438 | carry7 = (s7 + (int64_t) (1L << 20)) >> 21; | |
| 3439 | s8 += carry7; | |
| 3440 | s7 -= carry7 * ((uint64_t) 1L << 21); | |
| 3444 | carry9 = (s9 + (int64_t) (1L << 20)) >> 21; | |
| 3445 | s10 += carry9; | |
| 3446 | s9 -= carry9 * ((uint64_t) 1L << 21); | |
| 3450 | carry11 = (s11 + (int64_t) (1L << 20)) >> 21; | |
| 3451 | s12 += carry11; | |
| 3452 | s11 -= carry11 * ((uint64_t) 1L << 21); | |
| 3456 | carry13 = (s13 + (int64_t) (1L << 20)) >> 21; | |
| 3457 | s14 += carry13; | |
| 3458 | s13 -= carry13 * ((uint64_t) 1L << 21); | |
| 3462 | carry15 = (s15 + (int64_t) (1L << 20)) >> 21; | |
| 3463 | s16 += carry15; | |
| 3464 | s15 -= carry15 * ((uint64_t) 1L << 21); | |
| 3468 | carry17 = (s17 + (int64_t) (1L << 20)) >> 21; | |
| 3469 | s18 += carry17; | |
| 3470 | s17 -= carry17 * ((uint64_t) 1L << 21); | |
| 3474 | carry19 = (s19 + (int64_t) (1L << 20)) >> 21; | |
| 3475 | s20 += carry19; | |
| 3476 | s19 -= carry19 * ((uint64_t) 1L << 21); | |
| 3480 | carry21 = (s21 + (int64_t) (1L << 20)) >> 21; | |
| 3481 | s22 += carry21; | |
| 3482 | s21 -= carry21 * ((uint64_t) 1L << 21); | |
| 3487 | s11 += s23 * 666643; | |
| 3488 | s12 += s23 * 470296; | |
| 3489 | s13 += s23 * 654183; | |
| 3490 | s14 -= s23 * 997805; | |
| 3491 | s15 += s23 * 136657; | |
| 3492 | s16 -= s23 * 683901; | |
| 3500 | s10 += s22 * 666643; | |
| 3501 | s11 += s22 * 470296; | |
| 3502 | s12 += s22 * 654183; | |
| 3503 | s13 -= s22 * 997805; | |
| 3504 | s14 += s22 * 136657; | |
| 3505 | s15 -= s22 * 683901; | |
| 3513 | s9 += s21 * 666643; | |
| 3514 | s10 += s21 * 470296; | |
| 3515 | s11 += s21 * 654183; | |
| 3516 | s12 -= s21 * 997805; | |
| 3517 | s13 += s21 * 136657; | |
| 3518 | s14 -= s21 * 683901; | |
| 3526 | s8 += s20 * 666643; | |
| 3527 | s9 += s20 * 470296; | |
| 3528 | s10 += s20 * 654183; | |
| 3529 | s11 -= s20 * 997805; | |
| 3530 | s12 += s20 * 136657; | |
| 3531 | s13 -= s20 * 683901; | |
| 3539 | s7 += s19 * 666643; | |
| 3540 | s8 += s19 * 470296; | |
| 3541 | s9 += s19 * 654183; | |
| 3542 | s10 -= s19 * 997805; | |
| 3543 | s11 += s19 * 136657; | |
| 3544 | s12 -= s19 * 683901; | |
| 3552 | s6 += s18 * 666643; | |
| 3553 | s7 += s18 * 470296; | |
| 3554 | s8 += s18 * 654183; | |
| 3555 | s9 -= s18 * 997805; | |
| 3556 | s10 += s18 * 136657; | |
| 3557 | s11 -= s18 * 683901; | |
| 3565 | carry6 = (s6 + (int64_t) (1L << 20)) >> 21; | |
| 3566 | s7 += carry6; | |
| 3567 | s6 -= carry6 * ((uint64_t) 1L << 21); | |
| 3571 | carry8 = (s8 + (int64_t) (1L << 20)) >> 21; | |
| 3572 | s9 += carry8; | |
| 3573 | s8 -= carry8 * ((uint64_t) 1L << 21); | |
| 3577 | carry10 = (s10 + (int64_t) (1L << 20)) >> 21; | |
| 3578 | s11 += carry10; | |
| 3579 | s10 -= carry10 * ((uint64_t) 1L << 21); | |
| 3583 | carry12 = (s12 + (int64_t) (1L << 20)) >> 21; | |
| 3584 | s13 += carry12; | |
| 3585 | s12 -= carry12 * ((uint64_t) 1L << 21); | |
| 3589 | carry14 = (s14 + (int64_t) (1L << 20)) >> 21; | |
| 3590 | s15 += carry14; | |
| 3591 | s14 -= carry14 * ((uint64_t) 1L << 21); | |
| 3595 | carry16 = (s16 + (int64_t) (1L << 20)) >> 21; | |
| 3596 | s17 += carry16; | |
| 3597 | s16 -= carry16 * ((uint64_t) 1L << 21); | |
| 3602 | carry7 = (s7 + (int64_t) (1L << 20)) >> 21; | |
| 3603 | s8 += carry7; | |
| 3604 | s7 -= carry7 * ((uint64_t) 1L << 21); | |
| 3608 | carry9 = (s9 + (int64_t) (1L << 20)) >> 21; | |
| 3609 | s10 += carry9; | |
| 3610 | s9 -= carry9 * ((uint64_t) 1L << 21); | |
| 3614 | carry11 = (s11 + (int64_t) (1L << 20)) >> 21; | |
| 3615 | s12 += carry11; | |
| 3616 | s11 -= carry11 * ((uint64_t) 1L << 21); | |
| 3620 | carry13 = (s13 + (int64_t) (1L << 20)) >> 21; | |
| 3621 | s14 += carry13; | |
| 3622 | s13 -= carry13 * ((uint64_t) 1L << 21); | |
| 3626 | carry15 = (s15 + (int64_t) (1L << 20)) >> 21; | |
| 3627 | s16 += carry15; | |
| 3628 | s15 -= carry15 * ((uint64_t) 1L << 21); | |
| 3633 | s5 += s17 * 666643; | |
| 3634 | s6 += s17 * 470296; | |
| 3635 | s7 += s17 * 654183; | |
| 3636 | s8 -= s17 * 997805; | |
| 3637 | s9 += s17 * 136657; | |
| 3638 | s10 -= s17 * 683901; | |
| 3646 | s4 += s16 * 666643; | |
| 3647 | s5 += s16 * 470296; | |
| 3648 | s6 += s16 * 654183; | |
| 3649 | s7 -= s16 * 997805; | |
| 3650 | s8 += s16 * 136657; | |
| 3651 | s9 -= s16 * 683901; | |
| 3659 | s3 += s15 * 666643; | |
| 3660 | s4 += s15 * 470296; | |
| 3661 | s5 += s15 * 654183; | |
| 3662 | s6 -= s15 * 997805; | |
| 3663 | s7 += s15 * 136657; | |
| 3664 | s8 -= s15 * 683901; | |
| 3672 | s2 += s14 * 666643; | |
| 3673 | s3 += s14 * 470296; | |
| 3674 | s4 += s14 * 654183; | |
| 3675 | s5 -= s14 * 997805; | |
| 3676 | s6 += s14 * 136657; | |
| 3677 | s7 -= s14 * 683901; | |
| 3685 | s1 += s13 * 666643; | |
| 3686 | s2 += s13 * 470296; | |
| 3687 | s3 += s13 * 654183; | |
| 3688 | s4 -= s13 * 997805; | |
| 3689 | s5 += s13 * 136657; | |
| 3690 | s6 -= s13 * 683901; | |
| 3698 | s0 += s12 * 666643; | |
| 3699 | s1 += s12 * 470296; | |
| 3700 | s2 += s12 * 654183; | |
| 3701 | s3 -= s12 * 997805; | |
| 3702 | s4 += s12 * 136657; | |
| 3703 | s5 -= s12 * 683901; | |
| 3704 | s12 = 0; | |
| 3713 | carry0 = (s0 + (int64_t) (1L << 20)) >> 21; | |
| 3714 | s1 += carry0; | |
| 3715 | s0 -= carry0 * ((uint64_t) 1L << 21); | |
| 3719 | carry2 = (s2 + (int64_t) (1L << 20)) >> 21; | |
| 3720 | s3 += carry2; | |
| 3721 | s2 -= carry2 * ((uint64_t) 1L << 21); | |
| 3725 | carry4 = (s4 + (int64_t) (1L << 20)) >> 21; | |
| 3726 | s5 += carry4; | |
| 3727 | s4 -= carry4 * ((uint64_t) 1L << 21); | |
| 3731 | carry6 = (s6 + (int64_t) (1L << 20)) >> 21; | |
| 3732 | s7 += carry6; | |
| 3733 | s6 -= carry6 * ((uint64_t) 1L << 21); | |
| 3737 | carry8 = (s8 + (int64_t) (1L << 20)) >> 21; | |
| 3738 | s9 += carry8; | |
| 3739 | s8 -= carry8 * ((uint64_t) 1L << 21); | |
| 3743 | carry10 = (s10 + (int64_t) (1L << 20)) >> 21; | |
| 3744 | s11 += carry10; | |
| 3745 | s10 -= carry10 * ((uint64_t) 1L << 21); | |
| 3750 | carry1 = (s1 + (int64_t) (1L << 20)) >> 21; | |
| 3751 | s2 += carry1; | |
| 3752 | s1 -= carry1 * ((uint64_t) 1L << 21); | |
| 3756 | carry3 = (s3 + (int64_t) (1L << 20)) >> 21; | |
| 3757 | s4 += carry3; | |
| 3758 | s3 -= carry3 * ((uint64_t) 1L << 21); | |
| 3762 | carry5 = (s5 + (int64_t) (1L << 20)) >> 21; | |
| 3763 | s6 += carry5; | |
| 3764 | s5 -= carry5 * ((uint64_t) 1L << 21); | |
| 3768 | carry7 = (s7 + (int64_t) (1L << 20)) >> 21; | |
| 3769 | s8 += carry7; | |
| 3770 | s7 -= carry7 * ((uint64_t) 1L << 21); | |
| 3774 | carry9 = (s9 + (int64_t) (1L << 20)) >> 21; | |
| 3775 | s10 += carry9; | |
| 3776 | s9 -= carry9 * ((uint64_t) 1L << 21); | |
| 3780 | carry11 = (s11 + (int64_t) (1L << 20)) >> 21; | |
| 3781 | s12 += carry11; | |
| 3782 | s11 -= carry11 * ((uint64_t) 1L << 21); | |
| 3787 | s0 += s12 * 666643; | |
| 3788 | s1 += s12 * 470296; | |
| 3789 | s2 += s12 * 654183; | |
| 3790 | s3 -= s12 * 997805; | |
| 3791 | s4 += s12 * 136657; | |
| 3792 | s5 -= s12 * 683901; | |
| 3793 | s12 = 0; | |
| 3802 | carry0 = s0 >> 21; | |
| 3803 | s1 += carry0; | |
| 3804 | s0 -= carry0 * ((uint64_t) 1L << 21); | |
| 3808 | carry1 = s1 >> 21; | |
| 3809 | s2 += carry1; | |
| 3810 | s1 -= carry1 * ((uint64_t) 1L << 21); | |
| 3814 | carry2 = s2 >> 21; | |
| 3815 | s3 += carry2; | |
| 3816 | s2 -= carry2 * ((uint64_t) 1L << 21); | |
| 3820 | carry3 = s3 >> 21; | |
| 3821 | s4 += carry3; | |
| 3822 | s3 -= carry3 * ((uint64_t) 1L << 21); | |
| 3826 | carry4 = s4 >> 21; | |
| 3827 | s5 += carry4; | |
| 3828 | s4 -= carry4 * ((uint64_t) 1L << 21); | |
| 3832 | carry5 = s5 >> 21; | |
| 3833 | s6 += carry5; | |
| 3834 | s5 -= carry5 * ((uint64_t) 1L << 21); | |
| 3838 | carry6 = s6 >> 21; | |
| 3839 | s7 += carry6; | |
| 3840 | s6 -= carry6 * ((uint64_t) 1L << 21); | |
| 3844 | carry7 = s7 >> 21; | |
| 3845 | s8 += carry7; | |
| 3846 | s7 -= carry7 * ((uint64_t) 1L << 21); | |
| 3850 | carry8 = s8 >> 21; | |
| 3851 | s9 += carry8; | |
| 3852 | s8 -= carry8 * ((uint64_t) 1L << 21); | |
| 3856 | carry9 = s9 >> 21; | |
| 3857 | s10 += carry9; | |
| 3858 | s9 -= carry9 * ((uint64_t) 1L << 21); | |
| 3862 | carry10 = s10 >> 21; | |
| 3863 | s11 += carry10; | |
| 3864 | s10 -= carry10 * ((uint64_t) 1L << 21); | |
| 3868 | carry11 = s11 >> 21; | |
| 3869 | s12 += carry11; | |
| 3870 | s11 -= carry11 * ((uint64_t) 1L << 21); | |
| 3875 | s0 += s12 * 666643; | |
| 3876 | s1 += s12 * 470296; | |
| 3877 | s2 += s12 * 654183; | |
| 3878 | s3 -= s12 * 997805; | |
| 3879 | s4 += s12 * 136657; | |
| 3880 | s5 -= s12 * 683901; | |
| 3888 | carry0 = s0 >> 21; | |
| 3889 | s1 += carry0; | |
| 3890 | s0 -= carry0 * ((uint64_t) 1L << 21); | |
| 3894 | carry1 = s1 >> 21; | |
| 3895 | s2 += carry1; | |
| 3896 | s1 -= carry1 * ((uint64_t) 1L << 21); | |
| 3900 | carry2 = s2 >> 21; | |
| 3901 | s3 += carry2; | |
| 3902 | s2 -= carry2 * ((uint64_t) 1L << 21); | |
| 3906 | carry3 = s3 >> 21; | |
| 3907 | s4 += carry3; | |
| 3908 | s3 -= carry3 * ((uint64_t) 1L << 21); | |
| 3912 | carry4 = s4 >> 21; | |
| 3913 | s5 += carry4; | |
| 3914 | s4 -= carry4 * ((uint64_t) 1L << 21); | |
| 3918 | carry5 = s5 >> 21; | |
| 3919 | s6 += carry5; | |
| 3920 | s5 -= carry5 * ((uint64_t) 1L << 21); | |
| 3924 | carry6 = s6 >> 21; | |
| 3925 | s7 += carry6; | |
| 3926 | s6 -= carry6 * ((uint64_t) 1L << 21); | |
| 3930 | carry7 = s7 >> 21; | |
| 3931 | s8 += carry7; | |
| 3932 | s7 -= carry7 * ((uint64_t) 1L << 21); | |
| 3936 | carry8 = s8 >> 21; | |
| 3937 | s9 += carry8; | |
| 3938 | s8 -= carry8 * ((uint64_t) 1L << 21); | |
| 3942 | carry9 = s9 >> 21; | |
| 3943 | s10 += carry9; | |
| 3944 | s9 -= carry9 * ((uint64_t) 1L << 21); | |
| 3948 | carry10 = s10 >> 21; | |
| 3949 | s11 += carry10; | |
| 3950 | s10 -= carry10 * ((uint64_t) 1L << 21); | |
| 3956 | s[0] = s0 >> 0; | |
| 3958 | s[1] = s0 >> 8; | |
| 3960 | s[2] = (s0 >> 16) | (s1 * ((uint64_t) 1 << 5)); | |
| 3962 | s[3] = s1 >> 3; | |
| 3964 | s[4] = s1 >> 11; | |
| 3966 | s[5] = (s1 >> 19) | (s2 * ((uint64_t) 1 << 2)); | |
| 3968 | s[6] = s2 >> 6; | |
| 3970 | s[7] = (s2 >> 14) | (s3 * ((uint64_t) 1 << 7)); | |
| 3972 | s[8] = s3 >> 1; | |
| 3974 | s[9] = s3 >> 9; | |
| 3976 | s[10] = (s3 >> 17) | (s4 * ((uint64_t) 1 << 4)); | |
| 3978 | s[11] = s4 >> 4; | |
| 3980 | s[12] = s4 >> 12; | |
| 3982 | s[13] = (s4 >> 20) | (s5 * ((uint64_t) 1 << 1)); | |
| 3984 | s[14] = s5 >> 7; | |
| 3986 | s[15] = (s5 >> 15) | (s6 * ((uint64_t) 1 << 6)); | |
| 3988 | s[16] = s6 >> 2; | |
| 3990 | s[17] = s6 >> 10; | |
| 3992 | s[18] = (s6 >> 18) | (s7 * ((uint64_t) 1 << 3)); | |
| 3994 | s[19] = s7 >> 5; | |
| 3996 | s[20] = s7 >> 13; | |
| 3998 | s[21] = s8 >> 0; | |
| 4000 | s[22] = s8 >> 8; | |
| 4002 | s[23] = (s8 >> 16) | (s9 * ((uint64_t) 1 << 5)); | |
| 4004 | s[24] = s9 >> 3; | |
| 4006 | s[25] = s9 >> 11; | |
| 4008 | s[26] = (s9 >> 19) | (s10 * ((uint64_t) 1 << 2)); | |
| 4010 | s[27] = s10 >> 6; | |
| 4012 | s[28] = (s10 >> 14) | (s11 * ((uint64_t) 1 << 7)); | |
| 4014 | s[29] = s11 >> 1; | |
| 4016 | s[30] = s11 >> 9; | |
| 4018 | s[31] = s11 >> 17; |
Ed25519.php
| Type | Line | Description |
|---|---|---|
| 300 | Set ParagonIE_Sodium_Compat::$fastMult to true to speed up verification. | |
| 328 | Reset ParagonIE_Sodium_Compat::$fastMult to what it was before. |
State.php
| Type | Line | Description |
|---|---|---|
| 130 | We snip off the leftmost bytes. | |
| 135 | We still don't have enough to run $this->blocks() | |
| 289 | Chop off the left 32 bytes. |
Ristretto255.php
| Type | Line | Description |
|---|---|---|
| 167 | fe25519_1(one); | |
| 168 | notsquare = ristretto255_sqrt_ratio_m1(inv_sqrt, one, v_u2u2); | |
| 209 | fe25519_1(one); | |
| 210 | (void) ristretto255_sqrt_ratio_m1(inv_sqrt, one, u1_u2u2); | |
| 237 | fe25519_sub(s_, h->Z, y_); | |
| 238 | fe25519_mul(s_, den_inv, s_); | |
| 239 | fe25519_abs(s_, s_); | |
| 240 | fe25519_tobytes(s, s_); | |
| 291 | fe25519_sub(n, r, one); /* n = r-1 */ | |
| 292 | fe25519_mul(n, n, c); /* n = c*(r-1) */ | |
| 293 | fe25519_mul(n, n, ed25519_sqdmone); /* n = c*(r-1)*(d-1)^2 */ | |
| 294 | fe25519_sub(n, n, v); /* n = c*(r-1)*(d-1)^2-v */ | |
| 334 | fe25519_frombytes(r0, h); | |
| 335 | fe25519_frombytes(r1, h + 32); | |
| 339 | ristretto255_elligator(&p0, r0); | |
| 340 | ristretto255_elligator(&p1, r1); | |
| 344 | ge25519_p3_to_cached(&p1_cached, &p1); | |
| 345 | ge25519_add_cached(&p_p1p1, &p0, &p1_cached); | |
| 351 | ge25519_p1p1_to_p3(&p, &p_p1p1); | |
| 352 | ristretto255_p3_tobytes(s, &p); |
Salsa20.php
| Type | Line | Description |
|---|---|---|
| 152 | Internal counter. | |
| 194 | Initialize the counter |
SipHash.php
| Type | Line | Description |
|---|---|---|
| 98 | Carry if ($a + $b) > 0xffffffff | |
| 173 | 0 | |
| 174 | 1 | |
| 175 | 2 | |
| 176 | 3 | |
| 177 | 4 | |
| 178 | 5 | |
| 179 | 6 | |
| 180 | 7 | |
| 182 | v0 => $v[0], $v[1] | |
| 183 | v1 => $v[2], $v[3] | |
| 184 | v2 => $v[4], $v[5] | |
| 185 | v3 => $v[6], $v[7] | |
| 195 | k0 => $k[0], $k[1] | |
| 196 | k1 => $k[2], $k[3] | |
| 203 | See docblock for why the 0th index gets the higher bits. | |
| 273 | See docblock for why the 0th index gets the higher bits. | |
| 288 | Flip the lower 8 bits of v2 which is ($v[4], $v[5]) in our implementation |
Util.php
| Type | Line | Description |
|---|---|---|
| 936 | MB_OVERLOAD_STRING === 2 |
BLAKE2b.php
| Type | Line | Description |
|---|---|---|
| 227 | h | |
| 228 | t | |
| 229 | f | |
| 230 | buf | |
| 231 | buflen | |
| 232 | last_node (uint8_t) | |
| 520 | Zero our param buffer... | |
| 525 | digest_length | |
| 526 | key_length | |
| 527 | fanout | |
| 528 | depth | |
| 531 | salt: [32] through [47] | |
| 537 | personal: [48] through [63] | |
| 549 | We need to do what blake2b_init_param() does: |
Curve25519.php
| Type | Line | Description |
|---|---|---|
| 14 | github.com/jedisct1/libsodium/blob/master/src/libsodium/crypto_core/curve25519/ref10/curve25519_ref10.c | |
| 611 | $h0 = $f0g0 + $f1g9_38 + $f2g8_19 + $f3g7_38 + $f4g6_19 + $f5g5_38 + $f6g4_19 + $f7g3_38 + $f8g2_19 + $f9g1_38; | |
| 616 | $h1 = $f0g1 + $f1g0 + $f2g9_19 + $f3g8_19 + $f4g7_19 + $f5g6_19 + $f6g5_19 + $f7g4_19 + $f8g3_19 + $f9g2_19; | |
| 621 | $h2 = $f0g2 + $f1g1_2 + $f2g0 + $f3g9_38 + $f4g8_19 + $f5g7_38 + $f6g6_19 + $f7g5_38 + $f8g4_19 + $f9g3_38; | |
| 626 | $h3 = $f0g3 + $f1g2 + $f2g1 + $f3g0 + $f4g9_19 + $f5g8_19 + $f6g7_19 + $f7g6_19 + $f8g5_19 + $f9g4_19; | |
| 631 | $h4 = $f0g4 + $f1g3_2 + $f2g2 + $f3g1_2 + $f4g0 + $f5g9_38 + $f6g8_19 + $f7g7_38 + $f8g6_19 + $f9g5_38; | |
| 636 | $h5 = $f0g5 + $f1g4 + $f2g3 + $f3g2 + $f4g1 + $f5g0 + $f6g9_19 + $f7g8_19 + $f8g7_19 + $f9g6_19; | |
| 641 | $h6 = $f0g6 + $f1g5_2 + $f2g4 + $f3g3_2 + $f4g2 + $f5g1_2 + $f6g0 + $f7g9_38 + $f8g8_19 + $f9g7_38; | |
| 646 | $h7 = $f0g7 + $f1g6 + $f2g5 + $f3g4 + $f4g3 + $f5g2 + $f6g1 + $f7g0 + $f8g9_19 + $f9g8_19; | |
| 651 | $h8 = $f0g8 + $f1g7_2 + $f2g6 + $f3g5_2 + $f4g4 + $f5g3_2 + $f6g2 + $f7g1_2 + $f8g0 + $f9g9_38; | |
| 656 | $h9 = $f0g9 + $f1g8 + $f2g7 + $f3g6 + $f4g5 + $f5g4 + $f6g3 + $f7g2 + $f8g1 + $f9g0 ; | |
| 1228 | github.com/jedisct1/libsodium/blob/68564326e1e9dc57ef03746f85734232d20ca6fb/src/libsodium/crypto_core/curve25519/ref10/curve25519_ref10.c#L1054-L1106 | |
| 1418 | github.com/jedisct1/libsodium/blob/157c4a80c13b117608aeae12178b2d38825f9f8f/src/libsodium/crypto_core/curve25519/ref10/curve25519_ref10.c#L1185-L1215 |
Ed25519.php
| Type | Line | Description |
|---|---|---|
| 302 | Set ParagonIE_Sodium_Compat::$fastMult to true to speed up verification. | |
| 330 | Reset ParagonIE_Sodium_Compat::$fastMult to what it was before. |
Int32.php
| Type | Line | Description |
|---|---|---|
| 185 | Handle negative numbers | |
| 205 | Multiply | |
| 208 | Re-apply negation to results | |
| 213 | Handle integer overflow | |
| 222 | Return our values | |
| 311 | Initialize: | |
| 367 | Initialize: | |
| 464 | NOP, but we want a copy. | |
| 518 | NOP, but we want a copy. | |
| 634 | $return->limbs[0] = (int) (($this->limbs[0] >> $c) & 0xffff); | |
| 867 | PHP engine can't handle exceptions from __toString() |
Int64.php
| Type | Line | Description |
|---|---|---|
| 226 | Initialize: | |
| 355 | Handle negative numbers | |
| 377 | Multiply | |
| 380 | Re-apply negation to results | |
| 385 | Handle integer overflow | |
| 394 | Return our values | |
| 481 | Initialize: | |
| 591 | NOP, but we want a copy. | |
| 643 | NOP, but we want a copy. | |
| 1062 | PHP engine can't handle exceptions from __toString() |
State.php
| Type | Line | Description |
|---|---|---|
| 61 | st->r[0] = ... | |
| 65 | st->r[1] = ... | |
| 70 | st->r[2] = ... | |
| 75 | st->r[3] = ... | |
| 80 | st->r[4] = ... | |
| 135 | We snip off the leftmost bytes. | |
| 140 | We still don't have enough to run $this->blocks() | |
| 317 | Chop off the left 32 bytes. |
Salsa20.php
| Type | Line | Description |
|---|---|---|
| 204 | Internal counter. | |
| 246 | Initialize the counter |
SipHash.php
| Type | Line | Description |
|---|---|---|
| 217 | Flip the lower 8 bits of v2 which is ($v[4], $v[5]) in our implementation |
Crypto.php
| Type | Line | Description |
|---|---|---|
| 121 | Here, we know that the MAC is valid, so we decrypt and return the plaintext | |
| 252 | Here, we know that the MAC is valid, so we decrypt and return the plaintext | |
| 692 | This ensures that ParagonIE_Sodium_Core_BLAKE2b::$iv is initialized | |
| 763 | This ensures that ParagonIE_Sodium_Core_BLAKE2b::$iv is initialized | |
| 800 | This ensures that ParagonIE_Sodium_Core_BLAKE2b::$iv is initialized | |
| 840 | This ensures that ParagonIE_Sodium_Core_BLAKE2b::$iv is initialized | |
| 1067 | We had more than 1 block, so let's continue to decrypt the rest. | |
| 1221 | We had more than 1 block, so let's continue to decrypt the rest. | |
| 1400 | Overwrite by reference: | |
| 1411 | DO REKEY | |
| 1533 | Overwrite by reference: | |
| 1539 | DO REKEY |
Crypto32.php
| Type | Line | Description |
|---|---|---|
| 121 | Here, we know that the MAC is valid, so we decrypt and return the plaintext | |
| 252 | Here, we know that the MAC is valid, so we decrypt and return the plaintext | |
| 691 | This ensures that ParagonIE_Sodium_Core32_BLAKE2b::$iv is initialized | |
| 762 | This ensures that ParagonIE_Sodium_Core32_BLAKE2b::$iv is initialized | |
| 799 | This ensures that ParagonIE_Sodium_Core32_BLAKE2b::$iv is initialized | |
| 839 | This ensures that ParagonIE_Sodium_Core32_BLAKE2b::$iv is initialized | |
| 1066 | We had more than 1 block, so let's continue to decrypt the rest. | |
| 1220 | We had more than 1 block, so let's continue to decrypt the rest. | |
| 1399 | Overwrite by reference: | |
| 1410 | DO REKEY | |
| 1532 | Overwrite by reference: | |
| 1538 | DO REKEY |
File.php
| Type | Line | Description |
|---|---|---|
| 724 | Set ParagonIE_Sodium_Compat::$fastMult to true to speed up verification. | |
| 751 | Close the file handle | |
| 754 | Reset ParagonIE_Sodium_Compat::$fastMult to what it was before. | |
| 887 | Pre-write 16 blank bytes for the Poly1305 tag | |
| 1121 | Move file pointer to beginning of file | |
| 1138 | Reset file pointer's position | |
| 1274 | Set ParagonIE_Sodium_Compat::$fastMult to true to speed up verification. | |
| 1301 | Close the file handle | |
| 1304 | Reset ParagonIE_Sodium_Compat::$fastMult to what it was before. | |
| 1360 | Pre-write 16 blank bytes for the Poly1305 tag |
SplFixedArray.php
| Type | Line | Description |
|---|---|---|
| 129 | php.net/manual/en/splfixedarray.rewind.php | |
| 140 | php.net/manual/en/splfixedarray.current.php | |
| 169 | php.net/manual/en/splfixedarray.valid.php | |
| 187 | NOP |
bootstrap.php
| Type | Line | Description |
|---|---|---|
| 10 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | 2 - MB_OVERLOAD_STRING |
Strings.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net | |
| 240 | the pure-PHP approach is faster than the GMP approach | |
| 287 | the pure-PHP approach is slower than the GMP approach BUT | |
| 288 | i want to the pure-PHP version to be easily unit tested as well | |
| 326 | from http://graphics.stanford.edu/~seander/bithacks.html#ReverseByteWith32Bits |
AES.php
| Type | Line | Description |
|---|---|---|
| 46 | www.opensource.org/licenses/mit-license.html MIT License | |
| 47 | phpseclib.sourceforge.net |
Blowfish.php
| Type | Line | Description |
|---|---|---|
| 12 | en.wikipedia.org/wiki/Blowfish_(cipher) Wikipedia description of Blowfish} | |
| 34 | www.opensource.org/licenses/mit-license.html MIT License | |
| 35 | phpseclib.sourceforge.net | |
| 358 | already expanded | |
| 374 | unpack binary string in unsigned chars | |
| 378 | xor P1 with the first 32-bits of the key, xor P2 with the second 32-bits ... | |
| 388 | encrypt the zero-string, replace P1 and P2 with the encrypted data, | |
| 389 | encrypt P3 and P4 with the new P1 and P2, do it with all P-array and subkeys | |
| 415 | extract($this->bctx['sb'], EXTR_PREFIX_ALL, 'sb'); // slower | |
| 493 | Generating encrypt code: | |
| 518 | Generating decrypt code: |
ChaCha20.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net | |
| 51 | PHP 7.2.0 (30 Nov 2017) added support for libsodium | |
| 53 | we could probably make it so that if $this->counter == 0 then the first block would be done with either OpenSSL | |
| 54 | or PHP and then subsequent blocks would then be done with libsodium but idk - it's not a high priority atm | |
| 56 | we could also make it so that if $this->counter == 0 and $this->continuousBuffer then do the first string | |
| 57 | with libsodium and subsequent strings with openssl or pure-PHP but again not a high priority | |
| 63 | OpenSSL 1.1.0 (released 25 Aug 2016) added support for chacha20. | |
| 64 | PHP didn't support OpenSSL 1.1.0 until 7.0.19 (11 May 2017) | |
| 66 | if you attempt to provide openssl with a 128 bit key (as opposed to a 256 bit key) openssl will null | |
| 67 | pad the key to 256 bits and still use the expansion constant for 256-bit keys. the fact that | |
| 68 | openssl treats the IV as both the counter and nonce, however, let's us use openssl in continuous mode | |
| 69 | whereas libsodium does not | |
| 195 | tools.ietf.org/html/rfc7539#page-7 | |
| 202 | 64 bits | |
| 203 | 96 bits | |
| 311 | columnRound | |
| 316 | rowRound | |
| 358 | columnRound | |
| 379 | rowRound | |
| 400 | columnRound | |
| 421 | rowRound | |
| 442 | columnRound | |
| 463 | rowRound | |
| 484 | columnRound | |
| 505 | rowRound | |
| 526 | columnRound | |
| 547 | rowRound | |
| 568 | columnRound | |
| 589 | rowRound | |
| 610 | columnRound | |
| 631 | rowRound | |
| 652 | columnRound | |
| 673 | rowRound | |
| 694 | columnRound | |
| 715 | rowRound | |
| 736 | columnRound | |
| 757 | rowRound |
AsymmetricKey.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net | |
| 461 | this test can be satisfied by either of the following: | |
| 462 | http://php.net/manual/en/book.sodium.php | |
| 463 | https://github.com/paragonie/sodium_compat |
BlockCipher.php
| Type | Line | Description |
|---|---|---|
| 13 | www.opensource.org/licenses/mit-license.html MIT License | |
| 14 | phpseclib.sourceforge.net |
OpenSSH.php
| Type | Line | Description |
|---|---|---|
| 14 | www.opensource.org/licenses/mit-license.html MIT License | |
| 15 | phpseclib.sourceforge.net | |
| 77 | key format is described here: | |
| 78 | https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/PROTOCOL.key?annotate=HEAD | |
| 89 | if we wanted to support multiple keys we could update PublicKeyLoader to preview what the # of keys | |
| 90 | would be; it'd then call Common\Keys\OpenSSH.php::load() and get the paddedKey. it'd then pass | |
| 91 | that to the appropriate key loading parser $numKey times or something | |
| 119 | github.com/paragonie/sodium_compat/blob/master/README.md | |
| 122 | list($salt, $rounds) = Strings::unpackSSH2('sN', $kdfoptions); | |
| 128 | any leftover bytes in $paddedKey are for padding? but they should be sequential bytes. eg. 1, 2, 3, etc. | |
| 217 | tools.ietf.org/html/rfc4253#section-6 : |
PKCS.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
PKCS1.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net | |
| 140 | tools.ietf.org/html/rfc1421#section-4.6.1.1 | |
| 141 | tools.ietf.org/html/rfc1421#section-4.6.1.3 | |
| 152 | remove the Proc-Type / DEK-Info sections as they're no longer needed |
PKCS8.php
| Type | Line | Description |
|---|---|---|
| 24 | www.opensource.org/licenses/mit-license.html MIT License | |
| 25 | phpseclib.sourceforge.net | |
| 151 | strlen('pbeWithSHAAnd') == 13 | |
| 246 | in theory this can be changed | |
| 279 | from https://tools.ietf.org/html/rfc2898 | |
| 281 | PBES1 encryption schemes | |
| 289 | from PKCS#12: | |
| 290 | https://tools.ietf.org/html/rfc7292 | |
| 302 | from PKCS#5 v2.1: | |
| 303 | http://www.rsa.com/rsalabs/pkcs/files/h11302-wp-pkcs5v2-1-password-based-cryptography-standard.pdf | |
| 343 | PBES1 | |
| 403 | default: // should be >= 256 | |
| 440 | $temp = ASN1::decodeBER($decrypted['encryptionAlgorithm']['parameters']); | |
| 441 | $value = ASN1::asn1map($temp[0], Maps\PBMAC1params::MAP); | |
| 442 | since i can't find any implementation that does PBMAC1 it is unsupported | |
| 444 | at this point we'll assume that the key conforms to PublicKeyInfo | |
| 472 | EncryptedPrivateKeyInfo and PublicKeyInfo have largely identical "signatures". the only difference | |
| 473 | is that the former has an octet string and the later has a bit string. the first byte of a bit | |
| 474 | string represents the number of bits in the last byte that are to be ignored but, currently, | |
| 475 | bit strings wanting a non-zero amount of bits trimmed are not supported |
PuTTY.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net | |
| 245 | tools.ietf.org/html/rfc4716) |
Raw.php
| Type | Line | Description |
|---|---|---|
| 14 | www.opensource.org/licenses/mit-license.html MIT License | |
| 15 | phpseclib.sourceforge.net |
PrivateKey.php
| Type | Line | Description |
|---|---|---|
| 10 | www.opensource.org/licenses/mit-license.html MIT License | |
| 11 | phpseclib.sourceforge.net | |
| 26 | public function decrypt($ciphertext); |
PublicKey.php
| Type | Line | Description |
|---|---|---|
| 10 | www.opensource.org/licenses/mit-license.html MIT License | |
| 11 | phpseclib.sourceforge.net | |
| 26 | public function encrypt($plaintext); |
StreamCipher.php
| Type | Line | Description |
|---|---|---|
| 13 | www.opensource.org/licenses/mit-license.html MIT License | |
| 14 | phpseclib.sourceforge.net |
SymmetricKey.php
| Type | Line | Description |
|---|---|---|
| 33 | www.opensource.org/licenses/mit-license.html MIT License | |
| 34 | phpseclib.sourceforge.net | |
| 64 | en.wikipedia.org/wiki/Block_cipher_modes_of_operation#Counter_.28CTR.29 | |
| 73 | en.wikipedia.org/wiki/Block_cipher_modes_of_operation#Electronic_codebook_.28ECB.29 | |
| 82 | en.wikipedia.org/wiki/Block_cipher_modes_of_operation#Cipher-block_chaining_.28CBC.29 | |
| 91 | en.wikipedia.org/wiki/Block_cipher_modes_of_operation#Cipher_feedback_.28CFB.29 | |
| 108 | en.wikipedia.org/wiki/Block_cipher_modes_of_operation#Output_feedback_.28OFB.29 | |
| 117 | en.wikipedia.org/wiki/Galois/Counter_Mode | |
| 345 | phpseclib.sourceforge.net/cfb-demo.phps | |
| 449 | www.php.net/mcrypt_module_open | |
| 450 | www.php.net/mcrypt_list_algorithms | |
| 462 | www.php.net/openssl-get-cipher-methods | |
| 474 | www.php.net/openssl-get-cipher-methods | |
| 654 | necessary because of 5.6 compatibility; we can't do isset(self::MODE_MAP[$mode]) in 5.6 | |
| 662 | $mode dependent settings | |
| 764 | 2^130-5 | |
| 912 | en.wikipedia.org/wiki/PBKDF2 pbkdf2} or pbkdf1: | |
| 933 | from https://tools.ietf.org/html/rfc7292#appendix-B.2 | |
| 936 | Hash function | |
| 941 | WPA and WPA2 use the SSID as the salt | |
| 944 | RFC2898#section-4.2 uses 1,000 iterations by default | |
| 945 | WPA and WPA2 use 4,096. | |
| 948 | Keylength | |
| 969 | tools.ietf.org/html/rfc7292#appendix-B.1 | |
| 986 | Construct a string, D (the "diversifier"), by concatenating v/8 | |
| 987 | copies of ID. | |
| 1062 | tools.ietf.org/html/rfc7292#appendix-B} | |
| 1119 | www.di-mgt.com.au/cryptopad.html http://www.di-mgt.com.au/cryptopad.html} | |
| 1183 | cfb loosely routines inspired by openssl's: | |
| 1184 | {@link http://cvs.openssl.org/fileview?f=openssl/crypto/modes/cfb128.c&v=1.3.2.2.2.1} | |
| 1207 | ie. $i = min($max, $len), $len-= $i, $pos+= $i, $pos%= $blocksize | |
| 1252 | re: {@link http://phpseclib.sourceforge.net/cfb-demo.phps} | |
| 1253 | using mcrypt's default handing of CFB the above would output two different things. using phpseclib's | |
| 1254 | rewritten CFB implementation the above outputs the same thing twice. | |
| 1375 | cfb loosely routines inspired by openssl's: | |
| 1376 | {@link http://cvs.openssl.org/fileview?f=openssl/crypto/modes/cfb128.c&v=1.3.2.2.2.1} | |
| 1398 | ie. $i = min($max, $len), $len-= $i, $pos+= $i, $pos%= $blocksize | |
| 1544 | cfb loosely routines inspired by openssl's: | |
| 1545 | {@link http://cvs.openssl.org/fileview?f=openssl/crypto/modes/cfb128.c&v=1.3.2.2.2.1} | |
| 1568 | ie. $i = min($max, $len), $len-= $i, $pos+= $i, $pos%= $this->blocksize | |
| 1631 | ie. $i = min($max, $len), $len-= $i, $pos+= $i, $pos%= $blocksize | |
| 1739 | ie. $i = min($max, $len), $len-= $i, $pos+= $i, $pos%= $blocksize | |
| 1831 | the tag is 128-bits. it can't be greater than 16 bytes because that's bigger than the tag is. if it | |
| 1832 | were 0 you might as well be doing CTR and less than 4 provides minimal security that could be trivially | |
| 1833 | easily brute forced. | |
| 1834 | see https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf#page=36 | |
| 1835 | for more info | |
| 1953 | ie. trim $plaintext to a multiple of $block_size and put rest of $plaintext in $plaintext2 | |
| 2190 | not all of openssl's symmetric cipher's support ctr. for those | |
| 2191 | that don't we'll emulate it | |
| 2320 | Closing the current mcrypt resource(s). _mcryptSetup() will, if needed, | |
| 2321 | (re)open them with the module named in $this->cipher_name_mcrypt | |
| 2410 | $this->newtag = $this->oldtag = false; | |
| 2455 | we need the $ecb mcrypt resource (only) in MODE_CFB with enableContinuousBuffer() | |
| 2456 | to workaround mcrypt's broken ncfb implementation in buffered mode | |
| 2457 | see: {@link http://phpseclib.sourceforge.net/cfb-demo.phps} | |
| 2462 | else should mcrypt_generic_deinit be called? | |
| 2602 | protected function setupInlineCrypt(); | |
| 2645 | general init code. | | |
| 2646 | ie: $sbox'es declarations used for | | |
| 2647 | encrypt and decrypt'ing. | | |
| 2652 | encrypt sepcific init code. | | |
| 2660 | encrypt's (string) $in, which is always: | | |
| 2661 | strlen($in) == $this->block_size | | |
| 2662 | here comes the cipher algorithm in action | | |
| 2663 | for encryption. | | |
| 2664 | $cipher_code['encrypt_block'] has to | | |
| 2665 | encrypt the content of the $in variable | | |
| 2673 | decrypt sepcific init code | | |
| 2680 | decrypt's (string) $in, which is always | | |
| 2681 | strlen($in) == $this->block_size | | |
| 2682 | here comes the cipher algorithm in action | | |
| 2683 | for decryption. | | |
| 2684 | $cipher_code['decrypt_block'] has to | | |
| 2685 | decrypt the content of the $in variable | | |
| 2700 | optional | |
| 2701 | optional | |
| 2702 | optional | |
| 2703 | required | |
| 2704 | required | |
| 2719 | optional | |
| 2723 | required | |
| 2727 | Generating mode of operation inline code, | |
| 2728 | merged with the $cipher_code algorithm | |
| 2729 | for encrypt- and decryption. | |
| 3065 | case self::MODE_CBC: | |
| 3109 | Before discrediting this, please read the following: | |
| 3110 | @see https://github.com/phpseclib/phpseclib/issues/1293 | |
| 3111 | @see https://github.com/phpseclib/phpseclib/pull/1143 | |
| 3130 | PHP 5.3, per http://php.net/releases/5_3_0.php, introduced "more consistent float rounding" | |
| 3160 | nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf#page=23 | |
| 3167 | don't keep on re-calculating $this->h | |
| 3191 | nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf#page=20 | |
| 3206 | the switchEndianness calls are necessary because the multiplication algorithm in BinaryField/Integer | |
| 3207 | interprets strings as polynomials in big endian order whereas in GCM they're interpreted in little | |
| 3208 | endian order per https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf#page=19. | |
| 3209 | big endian order is what binary field elliptic curves use per http://www.secg.org/sec1-v2.pdf#page=18. | |
| 3211 | we could switchEndianness here instead of in the while loop but doing so in the while loop seems like it | |
| 3212 | might be slightly more performant | |
| 3213 | $x = Strings::switchEndianness($x); | |
| 3270 | strlen($this->poly1305Key) == 32 |
Fingerprint.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
PasswordProtected.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
DES.php
| Type | Line | Description |
|---|---|---|
| 12 | en.wikipedia.org/wiki/DES_supplementary_material Wikipedia: DES supplementary material} | |
| 13 | www.itl.nist.gov/fipspubs/fip46-2.htm FIPS 46-2 - (DES), Data Encryption Standard} | |
| 14 | www.cs.eku.edu/faculty/styer/460/Encrypt/JS-DES.html JavaScript DES Example} | |
| 39 | www.opensource.org/licenses/mit-license.html MIT License | |
| 40 | phpseclib.sourceforge.net | |
| 113 | self::MODE_CTR is undefined for DES | |
| 641 | Sets the key | |
| 679 | en.wikipedia.org/wiki/Image:Feistel.png Feistel.png} to get a general | |
| 711 | Do the initial IP permutation. | |
| 723 | Extract L0 and R0. | |
| 728 | Perform the 16 steps. | |
| 730 | start of "the Feistel (F) function" - see the following URL: | |
| 731 | http://en.wikipedia.org/wiki/Image:Data_Encryption_Standard_InfoBox_Diagram.png | |
| 732 | Merge key schedule. | |
| 736 | S-box indexing. | |
| 741 | end of "the Feistel (F) function" | |
| 747 | Last step should not permute L & R. | |
| 753 | Perform the inverse IP permutation. | |
| 773 | already expanded | |
| 778 | number of key bits shifted per round | |
| 817 | Mapping tables for the PC-2 transformation. | |
| 1229 | pad the key and remove extra characters as appropriate. | |
| 1232 | Perform the PC/1 transformation and compute C and D. | |
| 1257 | Perform the PC-2 transformation. | |
| 1263 | Reorder: odd bytes/even bytes. Push the result in key schedule. | |
| 1276 | 3DES keys | |
| 1290 | case 1: // DES keys | |
| 1307 | Engine configuration for: | |
| 1308 | - DES ($des_rounds == 1) or | |
| 1309 | - 3DES ($des_rounds == 3) | |
| 1337 | Creating code for en- and decryption. | |
| 1363 | Perform DES or 3DES. | |
| 1365 | Perform the 16 steps. | |
| 1367 | start of "the Feistel (F) function" - see the following URL: | |
| 1368 | http://en.wikipedia.org/wiki/Image:Data_Encryption_Standard_InfoBox_Diagram.png | |
| 1369 | Merge key schedule. | |
| 1379 | end of "the Feistel (F) function" | |
| 1381 | swap L & R | |
| 1387 | Perform the inverse IP permutation. | |
| 1400 | Creates the inline-crypt function |
PKCS1.php
| Type | Line | Description |
|---|---|---|
| 20 | www.opensource.org/licenses/mit-license.html MIT License | |
| 21 | phpseclib.sourceforge.net |
PKCS8.php
| Type | Line | Description |
|---|---|---|
| 18 | www.opensource.org/licenses/mit-license.html MIT License | |
| 19 | phpseclib.sourceforge.net |
Parameters.php
| Type | Line | Description |
|---|---|---|
| 10 | www.opensource.org/licenses/mit-license.html MIT License | |
| 11 | phpseclib.sourceforge.net |
PrivateKey.php
| Type | Line | Description |
|---|---|---|
| 10 | www.opensource.org/licenses/mit-license.html MIT License | |
| 11 | phpseclib.sourceforge.net |
PublicKey.php
| Type | Line | Description |
|---|---|---|
| 10 | www.opensource.org/licenses/mit-license.html MIT License | |
| 11 | phpseclib.sourceforge.net |
DH.php
| Type | Line | Description |
|---|---|---|
| 23 | www.opensource.org/licenses/mit-license.html MIT License | |
| 24 | phpseclib.sourceforge.net | |
| 87 | if (!$args[0]->isPrime()) { | |
| 88 | throw new \InvalidArgumentException('The first parameter should be a prime number'); | |
| 89 | } | |
| 101 | see http://tools.ietf.org/html/rfc2409#section-6.2 and | |
| 102 | http://tools.ietf.org/html/rfc2412, appendex E | |
| 109 | see http://tools.ietf.org/html/rfc3526#section-3 | |
| 110 | 2048-bit MODP Group | |
| 121 | see https://tools.ietf.org/html/rfc3526#section-4 | |
| 122 | 3072-bit MODP Group | |
| 136 | see https://tools.ietf.org/html/rfc3526#section-5 | |
| 137 | 4096-bit MODP Group | |
| 155 | see https://tools.ietf.org/html/rfc3526#section-6 | |
| 156 | 6144-bit MODP Group | |
| 182 | see https://tools.ietf.org/html/rfc3526#section-7 | |
| 183 | 8192-bit MODP Group | |
| 230 | tools.ietf.org/html/rfc4419#section-6.2 : | |
| 273 | DH\PrivateKey | |
| 301 | according to https://www.secg.org/sec1-v2.pdf#page=33 only X is returned |
OpenSSH.php
| Type | Line | Description |
|---|---|---|
| 14 | www.opensource.org/licenses/mit-license.html MIT License | |
| 15 | phpseclib.sourceforge.net | |
| 88 | from <http://tools.ietf.org/html/rfc4253#page-15>: | |
| 89 | string "ssh-dss" | |
| 90 | mpint p | |
| 91 | mpint q | |
| 92 | mpint g | |
| 93 | mpint y |
PKCS1.php
| Type | Line | Description |
|---|---|---|
| 26 | www.opensource.org/licenses/mit-license.html MIT License | |
| 27 | phpseclib.sourceforge.net |
PKCS8.php
| Type | Line | Description |
|---|---|---|
| 22 | www.opensource.org/licenses/mit-license.html MIT License | |
| 23 | phpseclib.sourceforge.net |
PuTTY.php
| Type | Line | Description |
|---|---|---|
| 17 | www.opensource.org/licenses/mit-license.html MIT License | |
| 18 | phpseclib.sourceforge.net |
Raw.php
| Type | Line | Description |
|---|---|---|
| 14 | www.opensource.org/licenses/mit-license.html MIT License | |
| 15 | phpseclib.sourceforge.net |
XML.php
| Type | Line | Description |
|---|---|---|
| 18 | www.opensource.org/licenses/mit-license.html MIT License | |
| 19 | phpseclib.sourceforge.net | |
| 63 | $dom->getElementsByTagName($key) is case-sensitive | |
| 64 | *[translate(local-name(), 'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz')='$key']"); | |
| 70 | a prime modulus meeting the [DSS] requirements | |
| 71 | Parameters P, Q, and G can be public and common to a group of users. They might be known | |
| 72 | from application context. As such, they are optional but P and Q must either both appear | |
| 73 | or both be absent | |
| 76 | an integer in the range 2**159 < Q < 2**160 which is a prime divisor of P-1 | |
| 79 | an integer with certain properties with respect to P and Q | |
| 82 | G**X mod P (where X is part of the private key and not made public) | |
| 84 | the remaining options do not do anything | |
| 85 | (P - 1) / Q | |
| 86 | Parameter J is available for inclusion solely for efficiency as it is calculatable from | |
| 87 | P and Q | |
| 88 | a DSA prime generation seed | |
| 89 | Parameters seed and pgenCounter are used in the DSA prime number generation algorithm | |
| 90 | specified in [DSS]. As such, they are optional but must either both be present or both | |
| 91 | be absent | |
| 92 | a DSA prime generation counter | |
| 115 | www.w3.org/TR/xmldsig-core/#sec-DSAKeyValue |
ASN1.php
| Type | Line | Description |
|---|---|---|
| 9 | tools.ietf.org/html/rfc3279#section-2.2.2 | |
| 15 | www.opensource.org/licenses/mit-license.html MIT License | |
| 16 | phpseclib.sourceforge.net |
Raw.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
SSH2.php
| Type | Line | Description |
|---|---|---|
| 14 | www.opensource.org/licenses/mit-license.html MIT License | |
| 15 | phpseclib.sourceforge.net |
Parameters.php
| Type | Line | Description |
|---|---|---|
| 10 | www.opensource.org/licenses/mit-license.html MIT License | |
| 11 | phpseclib.sourceforge.net |
PrivateKey.php
| Type | Line | Description |
|---|---|---|
| 10 | www.opensource.org/licenses/mit-license.html MIT License | |
| 11 | phpseclib.sourceforge.net | |
| 123 | the following is an RFC6979 compliant implementation of deterministic DSA | |
| 124 | it's unused because it's mainly intended for use when a good CSPRNG isn't | |
| 125 | available. if phpseclib's CSPRNG isn't good then even key generation is | |
| 126 | suspect |
PublicKey.php
| Type | Line | Description |
|---|---|---|
| 10 | www.opensource.org/licenses/mit-license.html MIT License | |
| 11 | phpseclib.sourceforge.net |
DSA.php
| Type | Line | Description |
|---|---|---|
| 28 | www.opensource.org/licenses/mit-license.html MIT License | |
| 29 | phpseclib.sourceforge.net | |
| 134 | case ($L >= 512 || $L <= 1024) && (($L & 0x3F) == 0) && $N == 160: | |
| 135 | FIPS 186-3 changed this as follows: | |
| 136 | case $L == 1024 && $N == 160: | |
| 159 | quoting http://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.186-4.pdf#page=50 , | |
| 160 | "h could be obtained from a random number generator or from a counter that | |
| 161 | changes after each use". PuTTY (sshdssg.c) starts h off at 1 and increments | |
| 162 | it on each loop. wikipedia says "commonly h = 2 is used" so we'll just do that | |
| 218 | $public = clone $private; | |
| 219 | unset($public->x); |
Base.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger | |
| 103 | en.wikipedia.org/wiki/Elliptic_curve_point_multiplication#Montgomery_ladder | |
| 104 | github.com/phpecc/phpecc/issues/16#issuecomment-59176772 |
Binary.php
| Type | Line | Description |
|---|---|---|
| 6 | www.secg.org/SEC2-Ver-1.0.pdf | |
| 11 | en.wikipedia.org/wiki/Jacobian_curve | |
| 12 | en.wikibooks.org/wiki/Cryptography/Prime_Curve/Jacobian_Coordinates | |
| 20 | www.opensource.org/licenses/mit-license.html MIT License | |
| 21 | pear.php.net/package/Math_BigInteger | |
| 185 | formulas from http://hyperelliptic.org/EFD/g12o/auto-shortw-jacobian.html | |
| 248 | formulas from http://hyperelliptic.org/EFD/g12o/auto-shortw-jacobian.html | |
| 280 | www.openssl.org/docs/man1.1.0/apps/ecparam.html , |
KoblitzPrime.php
| Type | Line | Description |
|---|---|---|
| 6 | www.secg.org/SEC2-Ver-1.0.pdf Koblitz curves are over the GF(2**m) | |
| 27 | www.opensource.org/licenses/mit-license.html MIT License | |
| 28 | pear.php.net/package/Math_BigInteger | |
| 47 | don't overwrite setCoefficients() with one that only accepts one parameter so that | |
| 48 | one might be able to switch between KoblitzPrime and Prime more easily (for benchmarking | |
| 49 | purposes). | |
| 56 | git.io/vxbrP | |
| 69 | get roots | |
| 77 | echo strtoupper($this->beta->toHex(true)) . "\n"; exit; | |
| 99 | /* | |
| 105 | */ | |
| 113 | begin split | |
| 135 | end split | |
| 191 | hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-0.html#doubling-dbl-2009-l | |
| 215 | hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-0.html#doubling-mdbl-2007-bl | |
| 253 | diamond.boisestate.edu/~liljanab/MATH308/GuideToECC.pdf#page=148 |
Montgomery.php
| Type | Line | Description |
|---|---|---|
| 11 | crypto.stackexchange.com/a/43058/4520 | |
| 15 | en.wikipedia.org/wiki/Montgomery_curve | |
| 23 | www.opensource.org/licenses/mit-license.html MIT License | |
| 24 | pear.php.net/package/Math_BigInteger | |
| 171 | tools.ietf.org/html/draft-ietf-tls-curve25519-01#appendix-A.1.3 | |
| 220 | en.wikipedia.org/wiki/Elliptic_curve_point_multiplication#Montgomery_ladder | |
| 221 | github.com/phpecc/phpecc/issues/16#issuecomment-59176772 | |
| 249 | hyperelliptic.org/EFD/g1p/auto-montgom-xz.html |
Prime.php
| Type | Line | Description |
|---|---|---|
| 6 | www.secg.org/SEC2-Ver-1.0.pdf | |
| 11 | en.wikipedia.org/wiki/Jacobian_curve | |
| 12 | en.wikibooks.org/wiki/Cryptography/Prime_Curve/Jacobian_Coordinates | |
| 20 | www.opensource.org/licenses/mit-license.html MIT License | |
| 21 | pear.php.net/package/Math_BigInteger | |
| 127 | used by jacobian coordinates | |
| 309 | use jacobian coordinates | |
| 330 | eg. doublePoint | |
| 413 | use jacobian coordinates | |
| 508 | git.io/vxPUH | |
| 529 | comb all window NAFs | |
| 543 | 1 | |
| 544 | 3 | |
| 545 | 5 | |
| 546 | 7 | |
| 634 | git.io/vxY1f | |
| 670 | git.io/vxrpD | |
| 688 | first phase | |
| 705 | if $m14 is odd | |
| 714 | if $m24 is odd | |
| 722 | second phase |
TwistedEdwards.php
| Type | Line | Description |
|---|---|---|
| 6 | www.secg.org/SEC2-Ver-1.0.pdf provides for curves with custom parameters. | |
| 17 | en.wikipedia.org/wiki/Twisted_Edwards_curve | |
| 25 | www.opensource.org/licenses/mit-license.html MIT License | |
| 26 | pear.php.net/package/Math_BigInteger |
brainpoolP160r1.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger |
brainpoolP160t1.php
| Type | Line | Description |
|---|---|---|
| 8 | tools.ietf.org/html/rfc5639#page-7 | |
| 14 | hyperelliptic.org/EFD/g1p/auto-shortw-projective-3.html | |
| 15 | hyperelliptic.org/EFD/g1p/auto-shortw-projective.html for example. | |
| 25 | www.opensource.org/licenses/mit-license.html MIT License | |
| 26 | pear.php.net/package/Math_BigInteger | |
| 40 | eg. -3 |
brainpoolP192r1.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger |
brainpoolP192t1.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger | |
| 27 | eg. -3 |
brainpoolP224r1.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger |
brainpoolP224t1.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger | |
| 27 | eg. -3 |
brainpoolP256r1.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger |
brainpoolP256t1.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger | |
| 27 | eg. -3 |
brainpoolP320r1.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger |
brainpoolP320t1.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger | |
| 29 | eg. -3 |
brainpoolP384r1.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger |
brainpoolP384t1.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger | |
| 31 | eg. -3 |
brainpoolP512r1.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger |
brainpoolP512t1.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger | |
| 31 | eg. -3 |
Curve25519.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger | |
| 26 | 2^255 - 19 | |
| 30 | 2^252 + 0x14def9dea2f79cd65812631a5cf5d3ed | |
| 35 | a | |
| 47 | tools.ietf.org/html/rfc7748#page-8 | |
| 53 | $r = strrev(sodium_crypto_scalarmult($d->toBytes(), strrev($p[0]->toBytes()))); | |
| 54 | return [$this->factory->newInteger(new BigInteger($r, 256))]; |
Curve448.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger | |
| 26 | 2^448 - 2^224 - 1 | |
| 32 | 2^446 - 0x8335dc163bb124b65129c96fde933d8d723a70aadc873d6d54a7bb0d | |
| 39 | a | |
| 54 | tools.ietf.org/html/rfc7748#page-8 | |
| 60 | $r = strrev(sodium_crypto_scalarmult($d->toBytes(), strrev($p[0]->toBytes()))); | |
| 61 | return [$this->factory->newInteger(new BigInteger($r, 256))]; |
Ed25519.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 26 | tools.ietf.org/html/rfc8032#page-6 EdDSA has several parameters, one of which is b: | |
| 39 | 2^255 - 19 | |
| 42 | -1 | |
| 43 | a | |
| 44 | -121665/121666 | |
| 45 | d | |
| 52 | algorithm 14.47 from http://cacr.uwaterloo.ca/hac/about/chap14.pdf#page=16 | |
| 101 | tools.ietf.org/html/rfc8032#section-5.1.3 | |
| 123 | find the square root | |
| 125 | tools.ietf.org/html/rfc8032#section-5.1.1: | |
| 136 | If v x^2 = -u (mod p), set x <-- x * 2^((p-1)/4), which is a square root. | |
| 156 | tools.ietf.org/html/rfc8032#section-5.1.5 | |
| 168 | 1. Hash the 32-byte private key using SHA-512, storing the digest in | |
| 169 | a 64-octet large buffer, denoted h. Only the lower 32 bytes are | |
| 170 | used for generating the public key. | |
| 174 | 2. Prune the buffer: The lowest three bits of the first octet are | |
| 175 | cleared, the highest bit of the last octet is cleared, and the | |
| 176 | second highest bit of the last octet is set. | |
| 180 | 3. Interpret the buffer as the little-endian integer, forming a | |
| 181 | secret scalar s. | |
| 221 | tools.ietf.org/html/rfc8032#section-5.1.4 : | |
| 263 | from https://tools.ietf.org/html/rfc8032#page-12 | |
| 313 | from https://tools.ietf.org/html/rfc8032#page-12 |
Ed448.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 29 | 2^448 - 2^224 - 1 | |
| 35 | -39081 | |
| 53 | tools.ietf.org/html/rfc8032#section-5.2.3 | |
| 75 | find the square root | |
| 93 | tools.ietf.org/html/rfc8032#section-5.2.5 | |
| 105 | 1. Hash the 57-byte private key using SHAKE256(x, 114), storing the | |
| 106 | digest in a 114-octet large buffer, denoted h. Only the lower 57 | |
| 107 | bytes are used for generating the public key. | |
| 111 | 2. Prune the buffer: The two least significant bits of the first | |
| 112 | octet are cleared, all eight bits the last octet are cleared, and | |
| 113 | the highest bit of the second to last octet is set. | |
| 118 | 3. Interpret the buffer as the little-endian integer, forming a | |
| 119 | secret scalar s. | |
| 158 | tools.ietf.org/html/rfc8032#section-5.2.4 : | |
| 199 | from https://tools.ietf.org/html/rfc8032#page-18 | |
| 247 | from https://tools.ietf.org/html/rfc8032#page-17 |
nistb233.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger |
nistb409.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger |
nistk163.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger |
nistk233.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger |
nistk283.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger |
nistk409.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger |
nistp192.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger |
nistp224.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger |
nistp256.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger |
nistp384.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger |
nistp521.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger |
nistt571.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger |
prime192v1.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger |
prime192v2.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger |
prime192v3.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger |
prime239v1.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger |
prime239v2.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger |
prime239v3.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger |
prime256v1.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger |
secp112r1.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger |
secp112r2.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger | |
| 25 | same modulo as secp112r1 |
secp128r1.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger |
secp128r2.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger | |
| 25 | same as secp128r1 |
secp160k1.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger | |
| 25 | same as secp160r2 |
secp160r1.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger |
secp160r2.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger | |
| 25 | same as secp160k1 |
secp192k1.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger |
secp192r1.php
| Type | Line | Description |
|---|---|---|
| 14 | www.opensource.org/licenses/mit-license.html MIT License | |
| 15 | pear.php.net/package/Math_BigInteger | |
| 30 | algorithm 2.27 from http://diamond.boisestate.edu/~liljanab/MATH308/GuideToECC.pdf#page=66 |
secp224k1.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger |
secp224r1.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger |
secp256k1.php
| Type | Line | Description |
|---|---|---|
| 14 | www.opensource.org/licenses/mit-license.html MIT License | |
| 15 | pear.php.net/package/Math_BigInteger | |
| 20 | use phpseclib3\Crypt\EC\BaseCurves\Prime; | |
| 24 | class secp256k1 extends Prime |
secp256r1.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger |
secp384r1.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger |
secp521r1.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger |
sect113r1.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger |
sect113r2.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger |
sect131r1.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger |
sect131r2.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger |
sect163k1.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger |
sect163r1.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger |
sect163r2.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger |
sect193r1.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger |
sect193r2.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger |
sect233k1.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger |
sect233r1.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger |
sect239k1.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger |
sect283k1.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger |
sect283r1.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger |
sect409k1.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger |
sect409r1.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger |
sect571k1.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger |
sect571r1.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger |
Common.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net | |
| 66 | the sec* curves are from the standards for efficient cryptography group | |
| 67 | sect* curves are curves over binary finite fields | |
| 68 | secp* curves are curves over prime finite fields | |
| 69 | sec*r* curves are regular curves; sec*k* curves are koblitz curves | |
| 70 | brainpool*r* curves are regular prime finite field curves | |
| 71 | brainpool*t* curves are twisted versions of the brainpool*r* curves | |
| 73 | J.5.1, example 1 (aka secp192r1) | |
| 74 | J.5.1, example 2 | |
| 75 | J.5.1, example 3 | |
| 76 | J.5.2, example 1 | |
| 77 | J.5.2, example 2 | |
| 78 | J.5.2, example 3 | |
| 79 | J.5.3, example 1 (aka secp256r1) | |
| 81 | https://tools.ietf.org/html/rfc5656#section-10 | |
| 82 | aka secp256r1 | |
| 83 | aka secp384r1 | |
| 84 | aka secp521r1 | |
| 86 | aka sect163k1 | |
| 87 | aka secp192r1 | |
| 88 | aka secp224r1 | |
| 89 | aka sect233k1 | |
| 90 | aka sect233r1 | |
| 91 | aka sect283k1 | |
| 92 | aka sect409k1 | |
| 93 | aka sect409r1 | |
| 94 | aka sect571k1 | |
| 96 | from https://tools.ietf.org/html/rfc5915 | |
| 97 | aka prime192v1 | |
| 103 | aka prime256v1 | |
| 112 | from http://www.secg.org/SEC2-Ver-1.0.pdf | |
| 133 | from http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.202.2977&rep=rep1&type=pdf#page=36 | |
| 135 | J.4.1, example 1 | |
| 136 | J.4.1, example 2 | |
| 137 | J.4.1, example 3 | |
| 138 | J.4.2, example 1 | |
| 139 | J.4.3, example 1 | |
| 140 | J.4.3, example 2 | |
| 141 | J.4.3, example 3 | |
| 142 | J.4.3, example 4 | |
| 143 | J.4.3, example 5 | |
| 144 | J.4.4, example 1 | |
| 145 | J.4.5, example 1 | |
| 146 | J.4.5, example 2 | |
| 147 | J.4.5, example 3 | |
| 148 | J.4.5, example 4 | |
| 149 | J.4.5, example 5 | |
| 150 | J.4.6, example 1 | |
| 151 | J.4.7, example 1 | |
| 152 | J.4.8, example 1 | |
| 153 | J.4.9, example 1 | |
| 154 | J.4.10, example 1 | |
| 157 | http://www.ecc-brainpool.org/download/Domain-parameters.pdf | |
| 158 | https://tools.ietf.org/html/rfc5639 | |
| 178 | per http://www.secg.org/SEC1-Ver-1.0.pdf#page=84, gnBasis "not used here" | |
| 179 | NULL | |
| 180 | Trinomial | |
| 181 | Pentanomial | |
| 284 | first step of point deciding as discussed at the following URL's: | |
| 285 | https://tools.ietf.org/html/rfc8032#section-5.1.3 | |
| 286 | https://tools.ietf.org/html/rfc8032#section-5.2.3 | |
| 302 | the first byte of a bit string represents the number of bits in the last byte that are to be ignored but, | |
| 303 | currently, bit strings wanting a non-zero amount of bits trimmed are not supported | |
| 313 | point compression is being used | |
| 318 | point compression is not being used | |
| 434 | we could try to calculate the order thusly: | |
| 435 | https://crypto.stackexchange.com/a/27914/4520 | |
| 436 | https://en.wikipedia.org/wiki/Schoof%E2%80%93Elkies%E2%80%93Atkin_algorithm | |
| 455 | other (optional) parameters can be calculated using the methods discused at | |
| 456 | https://crypto.stackexchange.com/q/28947/4520 | |
| 479 | the last parameter should always be 0 | |
| 480 | rsort($modulo); | |
| 488 | these should be in strictly ascending order (hence the commented out rsort above) | |
| TODO | 349 | Maybe at some point this could be moved to __toString() for each of the curves? |
libsodium.php
| Type | Line | Description |
|---|---|---|
| 7 | blog.mozilla.org/warner/2011/11/29/ed25519-keys/ elaborates. | |
| 16 | www.opensource.org/licenses/mit-license.html MIT License | |
| 17 | phpseclib.sourceforge.net |
MontgomeryPrivate.php
| Type | Line | Description |
|---|---|---|
| 19 | www.opensource.org/licenses/mit-license.html MIT License | |
| 20 | phpseclib.sourceforge.net | |
| 71 | note that EC::getEncodedCoordinates does some additional "magic" (it does strrev on the result) |
MontgomeryPublic.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
OpenSSH.php
| Type | Line | Description |
|---|---|---|
| 14 | www.opensource.org/licenses/mit-license.html MIT License | |
| 15 | phpseclib.sourceforge.net |
PKCS1.php
| Type | Line | Description |
|---|---|---|
| 24 | www.opensource.org/licenses/mit-license.html MIT License | |
| 25 | phpseclib.sourceforge.net | |
| 100 | comparing $ecParams and $components['curve'] directly won't work because they'll have different Math\Common\FiniteField classes | |
| 101 | even if the modulo is the same |
PKCS8.php
| Type | Line | Description |
|---|---|---|
| 22 | www.opensource.org/licenses/mit-license.html MIT License | |
| 23 | phpseclib.sourceforge.net | |
| 78 | initialize_static_variables() is defined in both the trait and the parent class | |
| 79 | when it's defined in two places it's the traits one that's called | |
| 80 | the parent one is needed, as well, but the parent one is called by other methods | |
| 81 | in the parent class as needed and in the context of the parent it's the parent | |
| 82 | one that's called | |
| 149 | 0x04 == octet string | |
| 150 | 0x20 == length (32 bytes) | |
| 241 | 'parameters' => $params, |
PuTTY.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net | |
| 112 | PuTTY pads private keys with a null byte per the following: | |
| 113 | https://github.com/github/putty/blob/a3d14d77f566a41fc61dfdc5c2e0e384c9e6ae8b/sshecc.c#L1926 |
XML.php
| Type | Line | Description |
|---|---|---|
| 8 | www.w3.org/TR/xmldsig-core/#sec-ECKeyValue | |
| 9 | en.wikipedia.org/wiki/XML_Signature | |
| 17 | www.opensource.org/licenses/mit-license.html MIT License | |
| 18 | phpseclib.sourceforge.net | |
| 75 | www.w3.org/2009/xmldsig11#'); | |
| 80 | www.w3.org/2001/04/xmldsig-more#'); | |
| 149 | *[namespace::*[.='$ns'] and not(../namespace::*[.='$ns'])]"); | |
| 350 | tools.ietf.org/html/rfc4050 | |
| 358 | www.w3.org/TR/xmldsig-core/#sec-ECParameters | |
| 389 | www.w3.org/2001/04/xmldsig-more#">' . "\r\n" . | |
| 400 | www.w3.org/2009/xmldsig11#">' . "\r\n" . |
ASN1.php
| Type | Line | Description |
|---|---|---|
| 9 | tools.ietf.org/html/rfc3279#section-2.2.3 | |
| 15 | www.opensource.org/licenses/mit-license.html MIT License | |
| 16 | phpseclib.sourceforge.net |
Raw.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
SSH2.php
| Type | Line | Description |
|---|---|---|
| 14 | www.opensource.org/licenses/mit-license.html MIT License | |
| 15 | phpseclib.sourceforge.net | |
| 51 | see https://tools.ietf.org/html/rfc5656#section-3.1.2 |
Parameters.php
| Type | Line | Description |
|---|---|---|
| 10 | www.opensource.org/licenses/mit-license.html MIT License | |
| 11 | phpseclib.sourceforge.net |
PrivateKey.php
| Type | Line | Description |
|---|---|---|
| 10 | www.opensource.org/licenses/mit-license.html MIT License | |
| 11 | phpseclib.sourceforge.net | |
| 114 | contexts (Ed25519ctx) are supported but prehashing (Ed25519ph) is not. | |
| 115 | quoting https://tools.ietf.org/html/rfc8032#section-8.5 , | |
| 116 | "The Ed25519ph and Ed448ph variants ... SHOULD NOT be used" | |
| 130 | SHA-512(dom2(F, C) || prefix || PH(M)) | |
| 149 | altho PHP's OpenSSL bindings only supported EC key creation in PHP 7.1 they've long | |
| 150 | supported signing / verification | |
| 151 | we use specified curves to avoid issues with OpenSSL possibly not supporting a given named curve; | |
| 152 | doing this may mean some curve-specific optimizations can't be used but idk if OpenSSL even | |
| 153 | has curve-specific optimizations | |
| 190 | the following is an RFC6979 compliant implementation of deterministic ECDSA | |
| 191 | it's unused because it's mainly intended for use when a good CSPRNG isn't | |
| 192 | available. if phpseclib's CSPRNG isn't good then even key generation is | |
| 193 | suspect | |
| 195 | if this were actually being used it'd probably be better if this lived in load() and createKey() |
PublicKey.php
| Type | Line | Description |
|---|---|---|
| 10 | www.opensource.org/licenses/mit-license.html MIT License | |
| 11 | phpseclib.sourceforge.net |
EC.php
| Type | Line | Description |
|---|---|---|
| 28 | www.opensource.org/licenses/mit-license.html MIT License | |
| 29 | phpseclib.sourceforge.net | |
| 153 | $publickey = EC::loadFormat('libsodium', sodium_crypto_sign_publickey($kp)); | |
| 156 | $publickey->curveName = $curve; | |
| 183 | $r = pack('H*', '0900000000000000000000000000000000000000000000000000000000000000'); | |
| 184 | $QA = sodium_crypto_scalarmult($dA->toBytes(), $r); | |
| 192 | $publickey = clone $privatekey; | |
| 193 | unset($publickey->dA); | |
| 194 | unset($publickey->x); | |
| 197 | $publickey->curveName = $curveName; | |
| 298 | tools.ietf.org/html/rfc5656#section-2, |
Hash.php
| Type | Line | Description |
|---|---|---|
| 30 | www.opensource.org/licenses/mit-license.html MIT License | |
| 31 | phpseclib.sourceforge.net | |
| 56 | const PADDING_KECCAK = 1; | |
| 261 | tools.ietf.org/html/rfc2104#section-2, "Applications that use keys longer than B bytes | |
| 264 | www.reddit.com/r/PHP/comments/9nct2l/symfonypolyfill_hash_pbkdf2_correct_fix_for/ | |
| 328 | 96 / 8 = 12 | |
| 383 | 1600 - 2*224 | |
| 387 | 1600 - 2*256 | |
| 390 | 1600 - 2*384 | |
| 393 | 1600 - 2*512 | |
| 396 | 1600 - 2*128 | |
| 403 | PHP 7.1.0 introduced support for "SHA3 fixed mode algorithms": | |
| 404 | http://php.net/ChangeLog-7.php#7.1.0 | |
| 406 | preg_match('#(\d+)$#', $hash, $matches); | |
| 407 | $this->parameters['capacity'] = 2 * $matches[1]; // 1600 - $this->blockSize | |
| 408 | $this->parameters['rate'] = 1600 - $this->parameters['capacity']; // == $this->blockSize | |
| 423 | PHP 7.1.0 introduced sha512/224 and sha512/256 support: | |
| 424 | http://php.net/ChangeLog-7.php#7.1.0 | |
| 426 | from http://csrc.nist.gov/publications/fips/fips180-4/fips-180-4.pdf#page=24 | |
| 486 | // Extract and zero low bit(s) of Nonce if needed | |
| 488 | if ($taglen <= 8) { | |
| 496 | // Make Nonce BLOCKLEN bytes by appending zeroes if needed | |
| 498 | $nonce = str_pad($nonce, 16, "\0"); | |
| 501 | // Generate subkey, encipher and extract indexed substring | |
| 503 | $kp = $this->kdf(0, 16); | |
| 510 | we could use ord() but per https://paragonie.com/blog/2016/06/constant-time-encoding-boring-cryptography-rfc-4648-and-you | |
| 511 | unpack() doesn't leak timing info | |
| 527 | // One internal iteration per 4 bytes of output | |
| 529 | $iters = $taglen >> 2; | |
| 532 | // Define total key needed for all iterations using KDF. | |
| 533 | L1Key reuses most key material between iterations. | |
| 535 | //$L1Key = $this->kdf(1, 1024 + ($iters - 1) * 16); | |
| 542 | // For each iteration, extract key and do three-layer hash. | |
| 543 | If bytelength(M) <= 1024, then skip L2-HASH. | |
| 545 | $y = ''; | |
| 575 | // Break M into 1024 byte chunks (final chunk may be shorter) | |
| 577 | $m = str_split($m, 1024); | |
| 580 | // For each chunk, except the last: endian-adjust, NH hash | |
| 581 | and add bit-length. Use results to build Y. | |
| 583 | $length = new BigInteger(1024 * 8); | |
| 586 | ENDIAN-SWAP | |
| 591 | // For the last chunk: pad to 32-byte boundary, endian-adjust, | |
| 592 | NH hash and add bit-length. Concatenate the result to Y. | |
| 594 | $length = strlen($m[$i]); | |
| 597 | zeropad | |
| 598 | ENDIAN-SWAP | |
| 621 | // Break M and K into 4-byte chunks | |
| 623 | //$t = strlen($m) >> 2; | |
| 633 | // Perform NH hash on the chunks, pairing words for multiplication | |
| 634 | which are 4 apart to accommodate vector-parallelism. | |
| 636 | $y = new BigInteger; | |
| 684 | // Extract keys and restrict to special key-sets | |
| 686 | $k64 = $k & "\x01\xFF\xFF\xFF\x01\xFF\xFF\xFF"; | |
| 692 | // If M is no more than 2^17 bytes, hash under 64-bit prime, | |
| 693 | otherwise, hash first 2^17 bytes under 64-bit prime and | |
| 694 | remainder under 128-bit prime. | |
| 696 | if (strlen($m) <= 0x20000) { // 2^14 64-bit words | |
| 699 | 1 << 17 | |
| 704 | zeropad | |
| 725 | // Define constants used for fixing out-of-range words | |
| 727 | $wordbytes = $wordbits >> 3; | |
| 741 | // Break M into chunks of length wordbytes bytes | |
| 743 | $m_i = str_split($m, $wordbytes); | |
| 746 | // Each input word m is compared with maxwordrange. If not smaller | |
| 747 | then 'marker' and (m - offset), both in range, are hashed. | |
| 749 | $y = $factory->newInteger(new BigInteger(1)); | |
| 857 | SHA3 HMACs are discussed at https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.202.pdf#page=30 | |
| 934 | case self::PADDING_KECCAK: | |
| 935 | $temp = chr(0x06) . str_repeat("\0", $padLength - 1); | |
| 936 | $temp[$padLength - 1] = $temp[$padLength - 1] | chr(0x80); | |
| 937 | return $temp | |
| 942 | case self::PADDING_SHA3: | |
| 944 | from https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.202.pdf#page=36 | |
| 964 | ws680.nist.gov/publication/get_pdf.cfm?pub_id=919061#page=16 KECCAK[C] is | |
| 984 | number of blocks | |
| 1043 | the standards give these constants in hexadecimal notation. it's tempting to want to use | |
| 1044 | that same notation, here, however, we can't, because 0x80000000, on PHP32, is a positive | |
| 1045 | float - not the negative int that we need to be in PHP32. so we use -2147483648 instead | |
| 1074 | theta step | |
| 1100 | rho and pi steps | |
| 1107 | chi step | |
| 1131 | iota step | |
| 1177 | number of blocks | |
| 1263 | theta step | |
| 1283 | rho and pi steps | |
| 1290 | chi step | |
| 1301 | iota step | |
| 1331 | Initialize table of round constants | |
| 1332 | (first 64 bits of the fractional parts of the cube roots of the first 80 primes 2..409) | |
| 1361 | Pre-processing | |
| 1363 | to round to nearest 112 mod 128, we'll add 128 - (length + (128 - 112)) % 128 | |
| 1366 | we don't support hashing strings 512MB long | |
| 1369 | Process the message in successive 1024-bit chunks | |
| 1379 | Extend the sixteen 32-bit words into eighty 32-bit words | |
| 1401 | Initialize hash value for this chunk | |
| 1411 | Main loop | |
| 1456 | Add this chunk's hash to result so far | |
| 1469 | Produce the final hash value (big-endian) | |
| 1470 | (\phpseclib3\Crypt\Hash::hash() trims the output for hashes but not for HMACs. as such, we trim the output here) |
PublicKeyLoader.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
Random.php
| Type | Line | Description |
|---|---|---|
| 21 | www.opensource.org/licenses/mit-license.html MIT License | |
| 22 | phpseclib.sourceforge.net | |
| 56 | random_compat will throw an Exception, which in PHP 5 does not implement Throwable | |
| 58 | If a sufficient source of randomness is unavailable, random_bytes() will throw an | |
| 59 | object that implements the Throwable interface (Exception, TypeError, Error). | |
| 60 | We don't actually need to do anything here. The string() method should just continue | |
| 61 | as normal. Note, however, that if we don't have a sufficient source of randomness for | |
| 62 | random_bytes(), most of the other calls here will fail too, so we'll end up using | |
| 63 | the PHP implementation. | |
| 65 | at this point we have no choice but to use a pure-PHP CSPRNG | |
| 67 | cascade entropy across multiple PHP instances by fixing the session and collecting all | |
| 68 | environmental variables, including the previous session data and the current session | |
| 69 | data. | |
| 71 | // mt_rand seeds itself by looking at the PID and the time, both of which are (relatively) | |
| 72 | easy to guess at. linux uses mouse clicks, keyboard timings, etc, as entropy sources, but | |
| 73 | PHP isn't low level to be able to use those as sources and on a web server there's not likely | |
| 74 | going to be a ton of keyboard or mouse action. web servers do have one thing that we can use | |
| 75 | however, a ton of people visiting the website. obviously you don't want to base your seeding | |
| 76 | solely on parameters a potential attacker sends but (1) not everything in $_SERVER is controlled | |
| 77 | by the user and (2) this isn't just looking at the data sent by the current user - it's based | |
| 78 | on the data sent by all users. one user requests the page and a hash of their info is saved. | |
| 79 | another user visits the page and the serialization of their data is utilized along with the | |
| 80 | server environment stuff and a hash of the previous http request data (which itself utilizes | |
| 81 | a hash of the session data before that). certainly an attacker should be assumed to have | |
| 82 | full control over his own http requests. he, however, is not going to have control over | |
| 83 | everyone's http requests. | |
| 86 | save old session data | |
| 115 | restore old session data | |
| 130 | in SSH2 a shared secret and an exchange hash are generated through the key exchange process. | |
| 131 | the IV client to server is the hash of that "nonce" with the letter A and for the encryption key it's the letter C. | |
| 132 | if the hash doesn't produce enough a key or an IV that's long enough concat successive hashes of the | |
| 133 | original hash and the current hash. we'll be emulating that. for more info see the following URL: | |
| 135 | // http://tools.ietf.org/html/rfc4253#section-7.2 | |
| 137 | // see the is_string($crypto) part for an example of how to expand the keys | |
| 141 | ciphers are used as per the nist.gov link below. also, see this link: | |
| 143 | // http://en.wikipedia.org/wiki/Cryptographically_secure_pseudorandom_number_generator#Designs_based_on_cryptographic_primitives | |
| 172 | return $crypto->encrypt(str_repeat("\0", $length)); | |
| 174 | the following is based off of ANSI X9.31: | |
| 176 | // http://csrc.nist.gov/groups/STM/cavp/documents/rng/931rngext.pdf | |
| 178 | // OpenSSL uses that same standard for it's random numbers: | |
| 180 | // http://www.opensource.apple.com/source/OpenSSL/OpenSSL-38/openssl/fips-1.0/rand/fips_rand.c | |
| 181 | (do a search for "ANS X9.31 A.2.4") | |
| 184 | strlen(microtime()) == 21 | |
| 185 | strlen($v) == 20 | |
| 186 | strlen($r) == 20 | |
| 208 | prevent circular array recursion | |
| 215 | do not recurse on the '__phpseclib_marker' key itself, for smaller memory usage |
RC2.php
| Type | Line | Description |
|---|---|---|
| 12 | tools.ietf.org/html/rfc2268} | |
| 32 | www.opensource.org/licenses/mit-license.html MIT License | |
| 33 | phpseclib.sourceforge.net | |
| 96 | = 128 bits | |
| 373 | The mcrypt RC2 implementation only supports effective key length | |
| 374 | of 1024 bits. It is however possible to handle effective key | |
| 375 | lengths in range 1..1024 by expanding the key and applying | |
| 376 | inverse pitable mapping to the first byte before submitting it | |
| 377 | to mcrypt. | |
| 379 | Key expansion. | |
| 384 | Expand key. | |
| 395 | Prepare the key for mcrypt. | |
| 469 | Mixing round. | |
| 484 | Mashing round. | |
| 514 | R-mixing round. | |
| 529 | R-mashing round. | |
| 553 | Key has already been expanded in \phpseclib3\Crypt\RC2::setKey(): | |
| 554 | Only the first value must be altered. | |
| 570 | Init code for both, encrypt and decrypt. | |
| 575 | $in is the current 8 bytes block which has to be en/decrypt | |
| 584 | Create code for encryption. | |
| 590 | Mixing round. | |
| 610 | Mashing round. | |
| 622 | Create code for decryption. | |
| 628 | R-mixing round. | |
| 648 | R-mashing round. | |
| 660 | Creates the inline-crypt function |
RC4.php
| Type | Line | Description |
|---|---|---|
| 12 | www.mozilla.org/projects/security/pki/nss/draft-kaukonen-cipher-arcfour-03.txt ARCFOUR Algorithm} | |
| 13 | en.wikipedia.org/wiki/RC4 - Wikipedia: RC4} | |
| 41 | www.opensource.org/licenses/mit-license.html MIT License | |
| 42 | phpseclib.sourceforge.net | |
| 77 | = 1024 bits | |
| 227 | RC4 does not utilize this method | |
| 238 | RC4 does not utilize this method | |
| 262 | index $i | |
| 263 | index $j |
Rijndael.php
| Type | Line | Description |
|---|---|---|
| 18 | csrc.nist.gov/archive/aes/rijndael/Rijndael-ammended.pdf#page=10 Rijndael-ammended.pdf#page=10} defines the | |
| 21 | csrc.nist.gov/archive/aes/rijndael/Rijndael-ammended.pdf#page=44 Rijndael-ammended.pdf#page=44}: | |
| 26 | www.csrc.nist.gov/publications/fips/fips197/fips-197.pdf#page=10 fips-197.pdf#page=10}.}} | |
| 51 | www.opensource.org/licenses/mit-license.html MIT License | |
| 52 | phpseclib.sourceforge.net | |
| 316 | is it a 160/224-bit key? | |
| 317 | mcrypt is not usable for them, only for 128/192/256-bit keys | |
| 352 | addRoundKey | |
| 358 | fips-197.pdf#page=19, "Figure 5. Pseudo Code for the Cipher", states that this loop has four components - | |
| 359 | subBytes, shiftRows, mixColumns, and addRoundKey. fips-197.pdf#page=30, "Implementation Suggestions Regarding | |
| 360 | Various Platforms" suggests that performs enhanced implementations are described in Rijndael-ammended.pdf. | |
| 361 | Rijndael-ammended.pdf#page=20, "Implementation aspects / 32-bit processor", discusses such an optimization. | |
| 362 | Unfortunately, the description given there is not quite correct. Per aes.spec.v316.pdf#page=19 [1], | |
| 363 | equation (7.4.7) is supposed to use addition instead of subtraction, so we'll do that here, as well. | |
| 365 | [1] http://fp.gladman.plus.com/cryptography_technology/rijndael/aes.spec.v316.pdf | |
| 368 | $c[0] == 0 | |
| 387 | subWord | |
| 395 | shiftRows + addRoundKey | |
| 396 | $c[0] == 0 | |
| 442 | addRoundKey | |
| 450 | $c[0] == 0 | |
| 469 | invShiftRows + invSubWord + addRoundKey | |
| 470 | $c[0] == 0 | |
| 541 | Each number in $rcon is equal to the previous number multiplied by two in Rijndael's finite field. | |
| 542 | See http://en.wikipedia.org/wiki/Finite_field_arithmetic#Multiplicative_inverse | |
| 553 | already expanded | |
| 559 | see Rijndael-ammended.pdf#page=44 | |
| 562 | shift offsets for Nb = 5, 7 are defined in Rijndael-ammended.pdf#page=44, | |
| 563 | "Table 8: Shift offsets in Shiftrow for the alternative block lengths" | |
| 564 | shift offsets for Nb = 4, 6, 8 are defined in Rijndael-ammended.pdf#page=14, | |
| 565 | "Table 2: Shift offsets for different block lengths" | |
| 585 | according to <http://php.net/language.types.integer>, "the size of an integer is platform-dependent". | |
| 586 | on a 32-bit machine, it's 32-bits, and on a 64-bit machine, it's 64-bits. on a 32-bit machine, | |
| 587 | 0xFFFFFFFF << 8 == 0xFFFFFF00, but on a 64-bit machine, it equals 0xFFFFFFFF00. as such, doing 'and' | |
| 588 | with 0xFFFFFFFF (or 0xFFFFFF00) on a 32-bit machine is unnecessary, but on a 64-bit machine, it is. | |
| 589 | rotWord | |
| 597 | convert the key schedule from a vector of $Nb * ($Nr + 1) length to a matrix with $Nr + 1 rows and $Nb columns | |
| 598 | and generate the inverse key schedule. more specifically, | |
| 599 | according to <http://csrc.nist.gov/archive/aes/rijndael/Rijndael-ammended.pdf#page=23> (section 5.3.3), | |
| 600 | "The key expansion for the Inverse Cipher is defined as follows: | |
| 601 | 1. Apply the Key Expansion. | |
| 602 | 2. Apply InvMixColumn to all Round Keys except the first and the last one." | |
| 603 | also, see fips-197.pdf#page=27, "5.3.5 Equivalent Inverse Cipher" | |
| 611 | subWord + invMixColumn + invSubWord = invMixColumn | |
| 632 | Converting to 1-dim key arrays (both ascending) | |
| 679 | according to <http://csrc.nist.gov/archive/aes/rijndael/Rijndael-ammended.pdf#page=19> (section 5.2.1), | |
| 680 | precomputed tables can be used in the mixColumns phase. in that example, they're assigned t0...t3, so | |
| 681 | those are the names we'll use. | |
| 683 | with array_map('intval', ...) we ensure we have only int's and not | |
| 684 | some slower floats converted by php automatically on high values | |
| 726 | The Precomputed mixColumns tables t0 - t3 | |
| 731 | The SubByte S-Box | |
| 810 | The Precomputed inverse mixColumns tables dt0 - dt3 | |
| 815 | The inverse SubByte S-Box | |
| 856 | Generating encrypt code: | |
| 873 | Preround: addRoundKey | |
| 879 | Mainrounds: shiftRows + subWord + mixColumns + addRoundKey | |
| 893 | Finalround: subWord + shiftRows + addRoundKey | |
| 913 | Generating decrypt code: | |
| 930 | Preround: addRoundKey | |
| 936 | Mainrounds: shiftRows + subWord + mixColumns + addRoundKey | |
| 950 | Finalround: subWord + shiftRows + addRoundKey |
MSBLOB.php
| Type | Line | Description |
|---|---|---|
| 8 | msdn.microsoft.com/en-us/library/windows/desktop/aa375601(v=vs.85).aspx | |
| 16 | www.opensource.org/licenses/mit-license.html MIT License | |
| 17 | phpseclib.sourceforge.net | |
| 102 | PUBLICKEYSTRUC publickeystruc | |
| 103 | https://msdn.microsoft.com/en-us/library/windows/desktop/aa387453(v=vs.85).aspx | |
| 125 | https://msdn.microsoft.com/en-us/library/windows/desktop/aa375549(v=vs.85).aspx | |
| 134 | RSAPUBKEY rsapubkey | |
| 135 | https://msdn.microsoft.com/en-us/library/windows/desktop/aa387685(v=vs.85).aspx | |
| 136 | could do V for pubexp but that's unsigned 32-bit whereas some PHP installs only do signed 32-bit | |
| 158 | BYTE modulus[rsapubkey.bitlen/8] | |
| 167 | BYTE prime1[rsapubkey.bitlen/16] | |
| 169 | BYTE prime2[rsapubkey.bitlen/16] | |
| 171 | BYTE exponent1[rsapubkey.bitlen/16] | |
| 173 | BYTE exponent2[rsapubkey.bitlen/16] | |
| 175 | BYTE coefficient[rsapubkey.bitlen/16] | |
| 180 | BYTE privateExponent[rsapubkey.bitlen/8] |
OpenSSH.php
| Type | Line | Description |
|---|---|---|
| 14 | www.opensource.org/licenses/mit-license.html MIT License | |
| 15 | phpseclib.sourceforge.net |
PKCS1.php
| Type | Line | Description |
|---|---|---|
| 21 | www.opensource.org/licenses/mit-license.html MIT License | |
| 22 | phpseclib.sourceforge.net |
PKCS8.php
| Type | Line | Description |
|---|---|---|
| 24 | www.opensource.org/licenses/mit-license.html MIT License | |
| 25 | phpseclib.sourceforge.net |
PSS.php
| Type | Line | Description |
|---|---|---|
| 22 | www.opensource.org/licenses/mit-license.html MIT License | |
| 23 | phpseclib.sourceforge.net | |
| 228 | tools.ietf.org/html/rfc4055#page-9 |
PuTTY.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
Raw.php
| Type | Line | Description |
|---|---|---|
| 22 | www.opensource.org/licenses/mit-license.html MIT License | |
| 23 | phpseclib.sourceforge.net |
XML.php
| Type | Line | Description |
|---|---|---|
| 8 | www.w3.org/TR/xmldsig-core/#sec-RSAKeyValue | |
| 9 | www.w3.org/TR/xkms2/#XKMS_2_0_Paragraph_269 | |
| 10 | en.wikipedia.org/wiki/XML_Signature | |
| 11 | en.wikipedia.org/wiki/XKMS | |
| 19 | www.opensource.org/licenses/mit-license.html MIT License | |
| 20 | phpseclib.sourceforge.net | |
| 72 | $dom->getElementsByTagName($key) is case-sensitive | |
| 73 | *[translate(local-name(), 'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz')='$key']"); |
PrivateKey.php
| Type | Line | Description |
|---|---|---|
| 10 | www.opensource.org/licenses/mit-license.html MIT License | |
| 11 | phpseclib.sourceforge.net | |
| 73 | tools.ietf.org/html/rfc3447#section-5.1.2 RFC3447#section-5.1.2}. | |
| 90 | tools.ietf.org/html/rfc3447#section-5.2.1 RFC3447#section-5.2.1}. | |
| 209 | tools.ietf.org/html/rfc3447#section-9.1.1 RFC3447#section-9.1.1}. | |
| 219 | if $m is larger than two million terrabytes and you're using sha1, PKCS#1 suggests a "Label too long" error | |
| 220 | be output. | |
| 222 | ie. ceil($emBits / 8) | |
| 246 | tools.ietf.org/html/rfc3447#section-8.1.1 RFC3447#section-8.1.1}. | |
| 254 | EMSA-PSS encoding | |
| 258 | RSA signature | |
| 264 | Output the signature S | |
| 272 | tools.ietf.org/html/rfc3447#section-8.2.1 RFC3447#section-8.2.1}. | |
| 281 | EMSA-PKCS1-v1_5 encoding | |
| 283 | If the encoding operation outputs "intended encoded message length too short," output "RSA modulus | |
| 284 | too short" and stop. | |
| 291 | RSA signature | |
| 297 | Output the signature S | |
| 316 | case self::SIGNATURE_PSS: | |
| 325 | tools.ietf.org/html/rfc3447#section-7.2.2 RFC3447#section-7.2.2}. | |
| 333 | Length checking | |
| 335 | or if k < 11 | |
| 339 | RSA decryption | |
| 345 | EME-PKCS1-v1_5 decoding | |
| 358 | Output M | |
| 366 | tools.ietf.org/html/rfc3447#section-7.1.2 RFC3447#section-7.1.2}. The fact that the error | |
| 383 | Length checking | |
| 385 | if $l is larger than two million terrabytes and you're using sha1, PKCS#1 suggests a "Label too long" error | |
| 386 | be output. | |
| 392 | RSA decryption | |
| 398 | EME-OAEP decoding | |
| 420 | we do | instead of || to avoid https://en.wikipedia.org/wiki/Short-circuit_evaluation | |
| 421 | to protect against timing attacks | |
| 426 | Output the message M | |
| 467 | case self::ENCRYPTION_OAEP: |
PublicKey.php
| Type | Line | Description |
|---|---|---|
| 10 | www.opensource.org/licenses/mit-license.html MIT License | |
| 11 | phpseclib.sourceforge.net | |
| 54 | tools.ietf.org/html/rfc3447#section-5.2.2 RFC3447#section-5.2.2}. | |
| 71 | tools.ietf.org/html/rfc3447#section-8.2.2 RFC3447#section-8.2.2}. | |
| 81 | Length checking | |
| 87 | RSA verification | |
| 99 | EMSA-PKCS1-v1_5 encoding | |
| 103 | If the encoding operation outputs "intended encoded message length too short," output "RSA modulus | |
| 104 | too short" and stop. | |
| 125 | Compare | |
| 132 | tools.ietf.org/html/rfc3447#page-43 RFC3447#page-43} PKCS1 v1.5 | |
| 149 | Length checking | |
| 155 | RSA verification | |
| 185 | from PKCS1 v1.5 | |
| 191 | from PKCS1 v2.2 | |
| 226 | tools.ietf.org/html/rfc3447#section-9.1.2 RFC3447#section-9.1.2}. | |
| 236 | if $m is larger than two million terrabytes and you're using sha1, PKCS#1 suggests a "Label too long" error | |
| 237 | be output. | |
| 239 | ie. ceil($emBits / 8); | |
| 264 | should be $sLen long | |
| 273 | tools.ietf.org/html/rfc3447#section-8.1.2 RFC3447#section-8.1.2}. | |
| 282 | Length checking | |
| 288 | RSA verification | |
| 299 | EMSA-PSS verification | |
| 319 | case self::SIGNATURE_PSS: | |
| 328 | tools.ietf.org/html/rfc3447#section-7.2.1 RFC3447#section-7.2.1}. | |
| 340 | Length checking | |
| 346 | EME-PKCS1-v1_5 encoding | |
| 358 | RSA encryption | |
| 363 | Output the ciphertext C | |
| 371 | tools.ietf.org/html/rfc3447#section-7.1.1 RFC3447#section-7.1.1} and | |
| 372 | en.wikipedia.org/wiki/Optimal_Asymmetric_Encryption_Padding OAES}. | |
| 383 | Length checking | |
| 385 | if $l is larger than two million terrabytes and you're using sha1, PKCS#1 suggests a "Label too long" error | |
| 386 | be output. | |
| 392 | EME-OAEP encoding | |
| 404 | RSA encryption | |
| 410 | Output the ciphertext C | |
| 418 | tools.ietf.org/html/rfc3447#section-5.1.1 RFC3447#section-5.1.1}. | |
| 473 | case self::ENCRYPTION_OAEP: |
RSA.php
| Type | Line | Description |
|---|---|---|
| 52 | www.opensource.org/licenses/mit-license.html MIT License | |
| 53 | phpseclib.sourceforge.net | |
| 84 | en.wikipedia.org/wiki/Optimal_Asymmetric_Encryption_Padding Optimal Asymmetric Encryption Padding} | |
| 240 | en.wikipedia.org/wiki/65537_%28number%29 | |
| 264 | cseweb.ucsd.edu/~hovav/dist/survey.pdf#page=5>, this number ought not result in primes smaller | |
| 328 | divide by two to see how many bits P and Q would be | |
| 341 | OpenSSL uses 65537 as the exponent and requires RSA keys be 384 bits minimum | |
| 350 | clear the buffer of error strings stemming from a minimalistic openssl.cnf | |
| 385 | the first coefficient is calculated differently from the rest | |
| 386 | ie. instead of being $primes[1]->modInverse($primes[2]), it's $primes[2]->modInverse($primes[1]) | |
| 395 | textbook RSA implementations use Euler's totient function instead of the least common multiple. | |
| 396 | see http://en.wikipedia.org/wiki/Euler%27s_totient_function | |
| 415 | from <http://tools.ietf.org/html/rfc3447#appendix-A.1.2>: | |
| 416 | RSAPrivateKey ::= SEQUENCE { | |
| 417 | version Version, | |
| 418 | modulus INTEGER, -- n | |
| 419 | publicExponent INTEGER, -- e | |
| 420 | privateExponent INTEGER, -- d | |
| 421 | prime1 INTEGER, -- p | |
| 422 | prime2 INTEGER, -- q | |
| 423 | exponent1 INTEGER, -- d mod (p-1) | |
| 424 | exponent2 INTEGER, -- d mod (q-1) | |
| 425 | coefficient INTEGER, -- (inverse of q) mod p | |
| 426 | otherPrimeInfos OtherPrimeInfos OPTIONAL | |
| 427 | } | |
| 478 | in the X509 world RSA keys are assumed to use PKCS1 padding by default. only if the key is | |
| 479 | explicitly a PSS key is the use of PSS assumed. phpseclib does not work like this. phpseclib | |
| 480 | uses PSS padding by default. it assumes the more secure method by default and altho it provides | |
| 481 | for the less secure PKCS1 method you have to go out of your way to use it. this is consistent | |
| 482 | with the latest trends in crypto. libsodium (NaCl) is actually a little more extreme in that | |
| 483 | not only does it defaults to the most secure methods - it doesn't even let you choose less | |
| 484 | secure methods | |
| 485 | $key = $key->withPadding(self::SIGNATURE_PSS); | |
| 529 | tools.ietf.org/html/rfc3447#section-4.1 RFC3447#section-4.1}. | |
| 551 | tools.ietf.org/html/rfc3447#section-4.2 RFC3447#section-4.2}. | |
| 565 | tools.ietf.org/html/rfc3447#section-9.2 RFC3447#section-9.2}. | |
| 577 | see http://tools.ietf.org/html/rfc3447#page-43 | |
| 597 | from https://www.emc.com/collateral/white-papers/h11300-pkcs-1v2-2-rsa-cryptography-standard-wp.pdf#page=40 | |
| 624 | tools.ietf.org/html/rfc8017#page-65, | |
| 640 | see http://tools.ietf.org/html/rfc3447#page-43 | |
| 654 | from https://www.emc.com/collateral/white-papers/h11300-pkcs-1v2-2-rsa-cryptography-standard-wp.pdf#page=40 | |
| 684 | tools.ietf.org/html/rfc3447#appendix-B.2.1 RFC3447#appendix-B.2.1}. | |
| 693 | if $maskLen would yield strings larger than 4GB, PKCS#1 suggests a "Mask too long" error be output. | |
| 731 | \phpseclib3\Crypt\Hash supports algorithms that PKCS#1 doesn't support. md5-96 and sha1-96, for example. | |
| 767 | \phpseclib3\Crypt\Hash supports algorithms that PKCS#1 doesn't support. md5-96 and sha1-96, for example. | |
| 805 | tools.ietf.org/html/rfc3447#page-38 RFC3447#page-38}: | |
| 835 | tools.ietf.org/html/rfc3447#page-17 RFC3447#page-17}: |
Salsa20.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net | |
| 51 | = 256 bits | |
| 152 | tools.ietf.org/html/rfc8439#section-2.6.1 | |
| 239 | Salsa20 does not utilize this method | |
| 294 | Salsa20 does not utilize this method | |
| 304 | Salsa20 does not utilize this method | |
| 352 | & 0x3F | |
| 357 | at this point $text should be a multiple of 64 | |
| 358 | ie. divide by 64 | |
| 460 | columnRound | |
| 465 | rowRound |
TripleDES.php
| Type | Line | Description |
|---|---|---|
| 33 | www.opensource.org/licenses/mit-license.html MIT License | |
| 34 | phpseclib.sourceforge.net | |
| 147 | In case of self::MODE_3CBC, we init as CRYPT_DES_MODE_CBC | |
| 148 | and additional flag us internally as 3CBC | |
| 153 | This three $des'es will do the 3CBC work (if $key > 64bits) | |
| 160 | we're going to be doing the padding, ourselves, so disable it in the \phpseclib3\Crypt\DES objects | |
| 167 | If not 3CBC, we init as usual | |
| 271 | copied from self::setKey() | |
| 294 | parent::en/decrypt() is able to do all the work for all modes and keylengths, | |
| 295 | except for: self::MODE_3CBC (inner chaining CBC) with a key > 64bits | |
| 297 | if the key is smaller then 8, do what we'd normally do | |
| 413 | if $key <= 64bits we configure our internal pure-php cipher engine | |
| 414 | to act as regular [1]DES, not as 3DES. mcrypt.so::tripledes does the same. | |
| 419 | otherwise, if $key > 64bits, we configure our engine to work as 3DES. | |
| 423 | (only) if 3CBC is used we have, of course, to setup the $des[0-2] keys also separately. | |
| 429 | because $des[0-2] will, now, do all the work we can return here | |
| 430 | not need unnecessary stress parent::setupKey() with our, now unused, $key. | |
| 434 | setup our key |
Twofish.php
| Type | Line | Description |
|---|---|---|
| 12 | en.wikipedia.org/wiki/Twofish Wikipedia description of Twofish} | |
| 34 | www.opensource.org/licenses/mit-license.html MIT License | |
| 35 | phpseclib.sourceforge.net | |
| 445 | already expanded | |
| 514 | 32 | |
| 559 | No gain by unrolling this loop. | |
| 561 | Get most significant coefficient. | |
| 564 | Shift the others up. | |
| 570 | Subtract the modular polynomial on overflow. | |
| 575 | Remove t * (a * x^2 + 1). | |
| 578 | Form u = a*t + t/a = t*(a + 1/a). | |
| 581 | Add the modular polynomial on underflow. | |
| 586 | Remove t * (a + 1/a) * (x^3 + x). | |
| 645 | @codingStandardsIgnoreStart | |
| 650 | @codingStandardsIgnoreEnd | |
| 701 | @codingStandardsIgnoreStart | |
| 706 | @codingStandardsIgnoreEnd | |
| 732 | Generating encrypt code: | |
| 774 | Generating decrypt code: |
BadConfigurationException.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
BadDecryptionException.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
BadModeException.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
ConnectionClosedException.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
FileNotFoundException.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
InconsistentSetupException.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
InsufficientSetupException.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
NoKeyLoadedException.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
NoSupportedAlgorithmsException.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
UnableToConnectException.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
UnsupportedAlgorithmException.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
UnsupportedCurveException.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
UnsupportedFormatException.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
UnsupportedOperationException.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
ANSI.php
| Type | Line | Description |
|---|---|---|
| 8 | en.wikipedia.org/wiki/ANSI_escape_code ANSI escape codes} back. | |
| 10 | en.wikipedia.org/wiki/Terminal_emulator terminal emulator} how to format the characters, what | |
| 11 | en.wikipedia.org/wiki/VT100 VT100} terminal emulator. | |
| 17 | www.opensource.org/licenses/mit-license.html MIT License | |
| 18 | phpseclib.sourceforge.net | |
| 239 | http://en.wikipedia.org/wiki/ANSI_escape_code#Sequence_elements | |
| 240 | single character CSI's not currently supported | |
| 253 | http://ascii-table.com/ansi-escape-sequences-vt-100.php | |
| 255 | Move cursor to upper left corner | |
| 260 | Clear screen from cursor down | |
| 271 | Clear screen from cursor right | |
| 276 | Clear entire line | |
| 280 | set cursor key to application | |
| 281 | show the cursor | |
| 282 | set united states g0 character set | |
| 284 | Move to next line | |
| 290 | Move cursor down n lines | |
| 294 | Move cursor to screen location v,h | |
| 300 | Move cursor right n lines | |
| 304 | Move cursor left n lines | |
| 311 | Set top and bottom lines of a window | |
| 313 | character attributes | |
| 319 | Turn off character attributes | |
| 322 | Turn bold mode on | |
| 325 | Turn underline mode on | |
| 328 | Turn blinking mode on | |
| 331 | Turn reverse video on | |
| 337 | set colors | |
| 338 | $front = $attr_cell->reverse ? &$attr_cell->background : &$attr_cell->foreground; | |
| 340 | $back = $attr_cell->reverse ? &$attr_cell->foreground : &$attr_cell->background; | |
| 343 | @codingStandardsIgnoreStart | |
| 361 | @codingStandardsIgnoreEnd | |
| 364 | user_error('Unsupported attribute: ' . $mod); | |
| 372 | user_error("{$this->ansi} is unsupported\r\n"); | |
| 387 | backspace | |
| 399 | shift | |
| 401 | start ANSI escape code | |
| 403 | if (!strlen($this->tokenization[count($this->tokenization) - 1])) { | |
| 404 | array_pop($this->tokenization); | |
| 405 | } | |
| 439 | if ($this->y < $this->max_y) { | |
| 440 | $this->y++; | |
| 441 | } | |
| 539 | close any remaining open tags |
Element.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
AccessDescription.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
AdministrationDomainName.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net | |
| 31 | if class isn't present it's assumed to be \phpseclib3\File\ASN1::CLASS_UNIVERSAL or | |
| 32 | (if constant is present) \phpseclib3\File\ASN1::CLASS_CONTEXT_SPECIFIC |
AlgorithmIdentifier.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
AnotherName.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
Attribute.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
Attributes.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
AttributeType.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
AttributeTypeAndValue.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
AttributeValue.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
AuthorityInfoAccessSyntax.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
AuthorityKeyIdentifier.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
BaseDistance.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
BasicConstraints.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
BuiltInDomainDefinedAttribute.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
BuiltInDomainDefinedAttributes.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net | |
| 32 | ub-domain-defined-attributes |
BuiltInStandardAttributes.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
Certificate.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
CertificateIssuer.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
CertificateList.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
CertificatePolicies.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
CertificateSerialNumber.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
CertificationRequest.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
CertificationRequestInfo.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
CertPolicyId.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
Characteristic_two.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net | |
| 32 | field size 2**m |
CountryName.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net | |
| 31 | if class isn't present it's assumed to be \phpseclib3\File\ASN1::CLASS_UNIVERSAL or | |
| 32 | (if constant is present) \phpseclib3\File\ASN1::CLASS_CONTEXT_SPECIFIC |
CPSuri.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
CRLDistributionPoints.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
CRLNumber.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
CRLReason.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net | |
| 39 | Value 7 is not used. |
Curve.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
DHParameter.php
| Type | Line | Description |
|---|---|---|
| 6 | www.teletrust.de/fileadmin/files/oid/oid_pkcs-3v1-4.pdf#page=6 | |
| 14 | www.opensource.org/licenses/mit-license.html MIT License | |
| 15 | phpseclib.sourceforge.net |
DigestInfo.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net | |
| 23 | tools.ietf.org/html/rfc2898#appendix-A.3 |
DirectoryString.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
DisplayText.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
DistributionPoint.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
DistributionPointName.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
DSAParams.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
DSAPrivateKey.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
DSAPublicKey.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
DssSigValue.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
EcdsaSigValue.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
ECParameters.php
| Type | Line | Description |
|---|---|---|
| 6 | tools.ietf.org/html/rfc5915 | |
| 14 | www.opensource.org/licenses/mit-license.html MIT License | |
| 15 | phpseclib.sourceforge.net |
ECPoint.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
ECPrivateKey.php
| Type | Line | Description |
|---|---|---|
| 6 | tools.ietf.org/html/rfc5915 | |
| 14 | www.opensource.org/licenses/mit-license.html MIT License | |
| 15 | phpseclib.sourceforge.net |
EDIPartyName.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net | |
| 37 | partyName is technically required but \phpseclib3\File\ASN1 doesn't currently support non-optional constants and | |
| 38 | setting it to optional gets the job done in any event. |
EncryptedData.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
EncryptedPrivateKeyInfo.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
Extension.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net | |
| 27 | tools.ietf.org/html/rfc5280#section-4.2 |
ExtensionAttribute.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
ExtensionAttributes.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net | |
| 32 | ub-extension-attributes |
Extensions.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net | |
| 32 | technically, it's MAX, but we'll assume anything < 0 is MAX | |
| 34 | if 'children' isn't an array then 'min' and 'max' must be defined |
ExtKeyUsageSyntax.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
FieldElement.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
FieldID.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
GeneralName.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
GeneralNames.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
GeneralSubtree.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
GeneralSubtrees.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
HashAlgorithm.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
HoldInstructionCode.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
InvalidityDate.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
IssuerAltName.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
IssuingDistributionPoint.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
KeyIdentifier.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
KeyPurposeId.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
KeyUsage.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
MaskGenAlgorithm.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
Name.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
NameConstraints.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
netscape_ca_policy_url.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
netscape_cert_type.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net | |
| 23 | www.mozilla.org/projects/security/pki/nss/tech-notes/tn3.html> |
netscape_comment.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
NetworkAddress.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
NoticeReference.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
NumericUserIdentifier.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
OneAsymmetricKey.php
| Type | Line | Description |
|---|---|---|
| 6 | tools.ietf.org/html/rfc5958 | |
| 14 | www.opensource.org/licenses/mit-license.html MIT License | |
| 15 | phpseclib.sourceforge.net |
ORAddress.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
OrganizationalUnitNames.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net | |
| 32 | ub-organizational-units |
OrganizationName.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
OtherPrimeInfo.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net | |
| 29 | version must be multi if otherPrimeInfos present | |
| 33 | ri | |
| 34 | di | |
| 35 | ti |
OtherPrimeInfos.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net | |
| 29 | version must be multi if otherPrimeInfos present |
PBEParameter.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net | |
| 23 | tools.ietf.org/html/rfc2898#appendix-A.3 |
PBES2params.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net | |
| 23 | tools.ietf.org/html/rfc2898#appendix-A.3 |
PBKDF2params.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net | |
| 23 | tools.ietf.org/html/rfc2898#appendix-A.3 | |
| 34 | technically, this is a CHOICE in RFC2898 but the other "choice" is, currently, more of a placeholder | |
| 35 | in the RFC |
PBMAC1params.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net | |
| 23 | tools.ietf.org/html/rfc2898#appendix-A.3 |
Pentanomial.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net | |
| 32 | k1 > 0 | |
| 33 | k2 > k1 | |
| 34 | k3 > h2 |
PersonalName.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
PKCS9String.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
PolicyInformation.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
PolicyMappings.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
PolicyQualifierId.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
PolicyQualifierInfo.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
PostalAddress.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
Prime_p.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
PrivateDomainName.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
PrivateKey.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
PrivateKeyInfo.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
PrivateKeyUsagePeriod.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
PublicKey.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
PublicKeyAndChallenge.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
PublicKeyInfo.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
RC2CBCParameter.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net | |
| 23 | tools.ietf.org/html/rfc2898#appendix-A.3 |
RDNSequence.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net | |
| 27 | www.opends.org/wiki/page/DefinitionRelativeDistinguishedName | |
| 37 | RDNSequence does not define a min or a max, which means it doesn't have one |
ReasonFlags.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
RelativeDistinguishedName.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net | |
| 27 | www.opends.org/wiki/page/DefinitionRelativeDistinguishedName |
RevokedCertificate.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
RSAPrivateKey.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net | |
| 29 | version must be multi if otherPrimeInfos present | |
| 37 | n | |
| 38 | e | |
| 39 | d | |
| 40 | p | |
| 41 | q | |
| 42 | d mod (p-1) | |
| 43 | d mod (q-1) | |
| 44 | (inverse of q) mod p |
RSAPublicKey.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
RSASSA_PSS_params.php
| Type | Line | Description |
|---|---|---|
| 6 | tools.ietf.org/html/rfc4055#section-3.1 | |
| 14 | www.opensource.org/licenses/mit-license.html MIT License | |
| 15 | phpseclib.sourceforge.net | |
| 38 | 'default' => 'sha1Identifier' | |
| 44 | 'default' => 'mgf1SHA1Identifier' |
SignedPublicKeyAndChallenge.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
SpecifiedECDomain.php
| Type | Line | Description |
|---|---|---|
| 6 | www.secg.org/sec1-v2.pdf#page=109 | |
| 14 | www.opensource.org/licenses/mit-license.html MIT License | |
| 15 | phpseclib.sourceforge.net |
SubjectAltName.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
SubjectDirectoryAttributes.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
SubjectInfoAccessSyntax.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
SubjectPublicKeyInfo.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
TBSCertificate.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net | |
| 29 | assert($TBSCertificate['children']['signature'] == $Certificate['children']['signatureAlgorithm']) | |
| 33 | technically, default implies optional, but we'll define it as being optional, none-the-less, just to | |
| 34 | reenforce that fact | |
| 49 | implicit means that the T in the TLV structure is to be rewritten, regardless of the type | |
| 60 | <http://tools.ietf.org/html/rfc2459#page-74> doesn't use the EXPLICIT keyword but if | |
| 61 | it's not IMPLICIT, it's EXPLICIT |
TBSCertList.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
TerminalIdentifier.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
Time.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
Trinomial.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
UniqueIdentifier.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
UserNotice.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
Validity.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
ASN1.php
| Type | Line | Description |
|---|---|---|
| 20 | www.opensource.org/licenses/mit-license.html MIT License | |
| 21 | phpseclib.sourceforge.net | |
| 42 | Tag Classes | |
| 43 | http://www.itu.int/ITU-T/studygroups/com17/languages/X.690-0207.pdf#page=12 | |
| 49 | Tag Classes | |
| 50 | http://www.obj-sys.com/asn1tutorial/node124.html | |
| 57 | const TYPE_OBJECT_DESCRIPTOR = 7; | |
| 58 | const TYPE_INSTANCE_OF = 8; // EXTERNAL | |
| 61 | const TYPE_EMBEDDED = 11; | |
| 63 | const TYPE_RELATIVE_OID = 13; | |
| 64 | SEQUENCE OF | |
| 65 | SET OF | |
| 67 | More Tag Classes | |
| 68 | http://www.obj-sys.com/asn1tutorial/node10.html | |
| 71 | T61String | |
| 77 | ISO646String | |
| 80 | const TYPE_CHARACTER_STRING = 29; | |
| 83 | Tag Aliases | |
| 84 | These tags are kinda place holders for other tags. | |
| 93 | en.wikipedia.org/wiki/Object_identifier | |
| 110 | php.net/class.datetime | |
| 178 | self::TYPE_CHARACTER_STRING => 'characterString', | |
| 220 | encapsulate in an array for BC with the old decodeBER | |
| 249 | process septets (since the eighth bit is ignored, it's not an octet) | |
| 256 | "bits 7 to 1 of the first subsequent octet shall not all be zero" | |
| 266 | Length, as discussed in paragraph 8.1.3 of X.690-0207.pdf#page=13 | |
| 269 | indefinite length | |
| 270 | "[A sender shall] use the indefinite form (see 8.1.3.6) if the encoding is constructed and is not all | |
| 271 | immediately available." -- paragraph 8.1.3.2.c | |
| 273 | definite length, long form | |
| 274 | technically, the long form of the length can be represented by up to 126 octets (bytes), but we'll only | |
| 275 | support it up to four. | |
| 279 | tags of indefinte length don't really have a header length; this length includes the tag | |
| 295 | at this point $length can be overwritten. it's only accurate for definite length things as is | |
| 305 | www.obj-sys.com/asn1tutorial/node12.html */ | |
| 328 | end-of-content octets - see paragraph 8.1.5 | |
| 344 | the array encapsulation is for BC with the old format | |
| 346 | the only time when $content['headerlength'] isn't defined is when the length is indefinite. | |
| 347 | the absence of $content['headerlength'] is how we know if something is indefinite or not. | |
| 348 | technically, it could be defined to be 2 and then another indicator could be used but whatever. | |
| 355 | decode UNIVERSAL tags | |
| 358 | "The contents octets shall consist of a single octet." -- paragraph 8.2.1 | |
| 371 | not currently supported | |
| 374 | The initial octet shall encode, as an unsigned binary integer with bit 1 as the least significant bit, | |
| 375 | the number of unused bits in the final subsequent octet. The number shall be in the range zero to | |
| 376 | seven. | |
| 387 | all subtags should be bit strings | |
| 393 | all subtags should be bit strings | |
| 412 | all subtags should be octet strings | |
| 420 | +2 for the EOC | |
| 425 | "The contents octets shall not contain any octets." -- paragraph 8.8.2 | |
| 439 | if indefinite length construction was used and we have an end-of-content string next | |
| 440 | see paragraphs 8.1.1.3, 8.1.3.2, 8.1.3.6, 8.1.5, and (for an example) 8.6.4.2 | |
| 442 | +2 for the EOC | |
| 471 | 0,1,2,3,4,5,6,7,8,9, and space | |
| 473 | Upper and lower case letters, digits, space, apostrophe, left/right parenthesis, plus sign, comma, | |
| 474 | hyphen, full stop, solidus, colon, equal sign, question mark | |
| 476 | The Teletex character set in CCITT's T61, space, and delete | |
| 477 | see http://en.wikipedia.org/wiki/Teletex#Character_sets | |
| 479 | The Videotex character set in CCITT's T.100 and T.101, space, and delete | |
| 481 | Printing character sets of international ASCII, and space | |
| 483 | International Alphabet 5 (International ASCII) | |
| 485 | All registered G sets, and space | |
| 487 | All registered C and G sets, space and delete | |
| 489 | ???? | |
| 509 | ie. length is the length of the full TLV encoding - it's not just the length of the value | |
| 539 | !isset(self::ANY_MAP[$intype]) produces a fatal error on PHP 5.6 | |
| 574 | if $decoded['type'] and $mapping['type'] are both strings, but different types of strings, | |
| 575 | let it through | |
| 577 | self::TYPE_NUMERIC_STRING == 18 | |
| 578 | self::TYPE_BMP_STRING == 30 | |
| 593 | ignore the min and max | |
| 609 | Match only existing input. | |
| 614 | Get the mapping and input class & constant. | |
| 629 | Can only match if constants and class match. | |
| 632 | Can only match if no constant expected and type matches or is generic. | |
| 639 | Attempt submapping. | |
| 645 | Got the match: use it. | |
| 654 | Syntax error. | |
| 658 | Fail mapping if all input items have not been consumed. | |
| 661 | the main diff between sets and sequences is the encapsulation of the foreach in another for loop | |
| 665 | ignore the min and max | |
| 701 | Can only match if constants and class match. | |
| 704 | Can only match if no constant expected and type matches or is generic. | |
| 710 | Attempt submapping. | |
| 719 | Got the match: use it. | |
| 742 | for explicitly tagged optional stuff | |
| 746 | for implicitly tagged optional stuff | |
| 747 | in theory, doing isset($mapping['implicit']) would work but malformed certs do exist | |
| 748 | in the wild that OpenSSL decodes without issue so we'll support them as well | |
| 820 | itu.int/ITU-T/studygroups/com17/languages/X.690-0207.pdf#p=13 X.690 paragraph 8.1.3} for more information. | |
| 829 | definite length, long form | |
| 873 | do not encode (implicitly optional) fields with value set to default | |
| 888 | Children order is not important, thus process in sequence. | |
| 890 | set the constructed bit | |
| 892 | ignore the min and max | |
| 908 | www.itu.int/ITU-T/studygroups/com17/languages/X.690-0207.pdf */ | |
| 930 | An empty child encoding means it has been optimized out. | |
| 931 | Else we should have at least one tag byte. | |
| 936 | if isset($child['constant']) is true then isset($child['optional']) should be true as well | |
| 971 | An empty child encoding means it has been optimized out. | |
| 972 | Else we should have at least one tag byte. | |
| 979 | if isset($child['constant']) is true then isset($child['optional']) should be true as well | |
| 1023 | if $source does _not_ include timezone information within it then assume that the timezone is GMT | |
| 1025 | if $source _does_ include timezone information within it then convert the time to GMT | |
| 1065 | www.itu.int/ITU-T/studygroups/com17/languages/X.690-0207.pdf#page=16 */ | |
| 1186 | www.itu.int/ITU-T/studygroups/com17/languages/X.690-0207.pdf#page=22 | |
| 1188 | ie. 0 <= ord($content[0]) < 120 (0x78) | |
| 1270 | tools.ietf.org/html/rfc5280#section-4.1.2.5.1 | |
| 1271 | www.obj-sys.com/asn1tutorial/node15.html | |
| 1274 | tools.ietf.org/html/rfc5280#section-4.1.2.5.2 | |
| 1275 | www.obj-sys.com/asn1tutorial/node14.html */ | |
| 1280 | https://www.itu.int/ITU-T/studygroups/com17/languages/X.690-0207.pdf#page=28 says "the seconds | |
| 1281 | element shall always be present" but none-the-less I've seen X509 certs where it isn't and if the | |
| 1282 | browsers parse it phpseclib ought to too | |
| 1300 | error supression isn't necessary as of PHP 7.0: | |
| 1301 | http://php.net/manual/en/migration70.other-changes.php | |
| 1361 | isset(self::STRING_TYPE_SIZE[$from] returns a fatal error on PHP 5.6 | |
| 1375 | Get an input character as a 32-bit value. | |
| 1403 | Convert and append the character to output string. | |
| 1471 | remove new lines | |
| 1473 | remove the -----BEGIN CERTIFICATE----- and -----END CERTIFICATE----- stuff | |
| 1483 | itu.int/ITU-T/studygroups/com17/languages/X.690-0207.pdf#p=13 X.690 paragraph 8.1.3} for more information. |
X509.php
| Type | Line | Description |
|---|---|---|
| 10 | tools.ietf.org/html/rfc5280 RFC5280} and | |
| 11 | web.archive.org/web/19961027104704/http://www3.netscape.com/eng/security/cert-exts.html Netscape Certificate Extensions}. | |
| 23 | www.opensource.org/licenses/mit-license.html MIT License | |
| 24 | phpseclib.sourceforge.net | |
| 156 | All attribute values (array). | |
| 157 | Add a value. | |
| 158 | Clear first, then add a value. | |
| 189 | en.wikipedia.org/wiki/Object_identifier | |
| 247 | tools.ietf.org/html/rfc5280#section-4.2.1.1 RFC5280#section-4.2.1.1} and | |
| 248 | tools.ietf.org/html/rfc5280#section-4.2.1.2 RFC5280#section-4.2.1.2}. | |
| 327 | Explicitly Tagged Module, 1988 Syntax | |
| 328 | http://tools.ietf.org/html/rfc5280#appendix-A.1 | |
| 331 | OIDs from RFC5280 and those RFCs mentioned in RFC5280#section-4.1.1.2 | |
| 333 | 'id-pkix' => '1.3.6.1.5.5.7', | |
| 334 | 'id-pe' => '1.3.6.1.5.5.7.1', | |
| 335 | 'id-qt' => '1.3.6.1.5.5.7.2', | |
| 336 | 'id-kp' => '1.3.6.1.5.5.7.3', | |
| 337 | 'id-ad' => '1.3.6.1.5.5.7.48', | |
| 344 | 'id-at' => '2.5.4', | |
| 367 | 'id-domainComponent' => '0.9.2342.19200300.100.1.25', | |
| 368 | 'pkcs-9' => '1.2.840.113549.1.9', | |
| 370 | 'id-ce' => '2.5.29', | |
| 376 | 'anyPolicy' => '2.5.29.32.0', | |
| 388 | 'anyExtendedKeyUsage' => '2.5.29.37.0', | |
| 405 | 'holdInstruction' => '1.2.840.10040.2', | |
| 422 | from https://tools.ietf.org/html/rfc5758#section-3.2 | |
| 430 | from https://tools.ietf.org/html/rfc5758#section-3.1 | |
| 434 | from https://tools.ietf.org/html/rfc8410: | |
| 440 | 'id-sha224' => '2.16.840.1.101.3.4.2.4', | |
| 441 | 'id-sha256' => '2.16.840.1.101.3.4.2.1', | |
| 442 | 'id-sha384' => '2.16.840.1.101.3.4.2.2', | |
| 443 | 'id-sha512' => '2.16.840.1.101.3.4.2.3', | |
| 444 | 'id-GostR3411-94-with-GostR3410-94' => '1.2.643.2.2.4', | |
| 445 | 'id-GostR3411-94-with-GostR3410-2001' => '1.2.643.2.2.3', | |
| 446 | 'id-GostR3410-2001' => '1.2.643.2.2.20', | |
| 447 | 'id-GostR3410-94' => '1.2.643.2.2.19', | |
| 448 | Netscape Object Identifiers from "Netscape Certificate Extensions" | |
| 454 | the following are X.509 extensions not supported by phpseclib | |
| 458 | for Certificate Signing Requests | |
| 459 | see http://tools.ietf.org/html/rfc2985 | |
| 460 | PKCS #9 unstructured name | |
| 461 | Challenge password for certificate revocations | |
| 462 | Certificate extension request | |
| 558 | "case !$a: case !$b: break; default: whatever();" is the same thing as "if ($a && $b) whatever()" | |
| 582 | $filters['policyQualifiers']['qualifier'] = $type_utf8_string; | |
| 608 | case self::FORMAT_PEM: | |
| 714 | by default \phpseclib3\File\ASN1 will try to render qualifier as a \phpseclib3\File\ASN1::TYPE_IA5_STRING since it's | |
| 715 | actual type is \phpseclib3\File\ASN1::TYPE_ANY | |
| 721 | use 00 as the serial number instead of an empty string | |
| 735 | user_error($id . ' is not a currently supported extension'); | |
| 805 | user_error($id . ' is not a currently supported attribute', E_USER_NOTICE); | |
| 896 | eg. if it's a \phpseclib3\File\ASN1\Element object | |
| 941 | since id-qt-cps isn't a constructed type it will have already been decoded as a string by the time it gets | |
| 942 | back around to asn1map() and we don't want it decoded again. | |
| 943 | case 'id-qt-cps': | |
| 944 | return Maps\CPSuri::MAP; | |
| 948 | the following OIDs are unsupported but we don't want them to give notices when calling saveX509(). | |
| 949 | http://www.ietf.org/rfc/rfc3709.txt | |
| 951 | http://support.microsoft.com/kb/287547 | |
| 952 | szOID_ENROLL_CERTTYPE_EXTENSION | |
| 953 | szOID_CERTSRV_CA_VERSION | |
| 954 | "SET Secure Electronic Transaction Specification" | |
| 955 | http://www.maithean.com/docs/set_bk3.pdf | |
| 956 | id-set-hashedRootKey | |
| 957 | "Certificate Transparency" | |
| 958 | https://tools.ietf.org/html/rfc6962 | |
| 960 | "Qualified Certificate statements" | |
| 961 | https://tools.ietf.org/html/rfc3739#section-3.2.6 | |
| 965 | CSR attributes | |
| 973 | CRL extensions. | |
| 1026 | $keyUsage = $this->getExtension('id-ce-keyUsage'); | |
| 1027 | if ($keyUsage && !in_array('keyCertSign', $keyUsage)) { | |
| 1028 | return false; | |
| 1029 | } | |
| 1040 | $basicConstraints = $this->getExtension('id-ce-basicConstraints'); | |
| 1041 | if (!$basicConstraints || !$basicConstraints['cA']) { | |
| 1042 | return false; | |
| 1043 | } | |
| 1189 | skip the rest of the headers in the http response | |
| 1202 | case 'ftp': | |
| 1203 | case 'ldap': | |
| 1204 | default: | |
| 1213 | tools.ietf.org/html/rfc4325 for more info | |
| 1228 | accessLocation is a GeneralName. GeneralName fields support stuff like email addresses, IP addresses, LDAP, | |
| 1229 | etc, but we're only supporting URI's. URI's and LDAP are the only thing https://tools.ietf.org/html/rfc4325 | |
| 1230 | discusses | |
| 1252 | tools.ietf.org/html/rfc4325 | |
| 1267 | $this->loadCA($cert); | |
| 1281 | php.net/openssl-verify openssl_verify}. | |
| 1314 | tools.ietf.org/html/rfc5280#section-4.1.2.6 | |
| 1320 | self-signed cert | |
| 1330 | working cert | |
| 1336 | even if the cert is a self-signed one we still want to see if it's a CA; | |
| 1337 | if not, we'll conditionally return an error | |
| 1349 | serial mismatch - check other ca | |
| 1351 | working cert | |
| 1399 | serial mismatch - check other ca | |
| 1401 | working cert | |
| 1733 | fix for https://bugs.php.net/75433 affecting PHP 7.2 | |
| 1784 | Always strip data type. | |
| 1818 | No merge here. | |
| 1822 | handles stuff generated by openssl_x509_parse() | |
| 1831 | handles everything else | |
| 1868 | No SEQUENCE around RDNs and all string values normalized as | |
| 1869 | trimmed lowercase UTF-8 with all spacing as one blank. | |
| 1870 | constructed RDNs will not be canonicalized | |
| 1904 | Default is to return a string. | |
| 1969 | Always strip data type. | |
| 2242 | see http://tools.ietf.org/html/rfc2986 | |
| 2331 | case self::FORMAT_PEM: | |
| 2342 | developer.mozilla.org/en-US/docs/HTML/Element/keygen | |
| 2358 | see http://www.w3.org/html/wg/drafts/html/master/forms.html#signedpublickeyandchallenge | |
| 2360 | OpenSSL produces SPKAC's that are preceded by the string SPKAC= | |
| 2435 | case self::FORMAT_PEM: | |
| 2437 | OpenSSL's implementation of SPKAC requires the SPKAC be preceded by SPKAC= and since there are pretty much | |
| 2438 | no other SPKAC decoders phpseclib will use that same format | |
| 2558 | case self::FORMAT_PEM: | |
| 2582 | the same way ASN1.php parses this | |
| 2665 | tools.ietf.org/html/rfc5280#section-4.1.2.2 | |
| 2678 | $this->setSerialNumber() | |
| 2680 | this is going to be overwritten later | |
| 2682 | $this->setStartDate() | |
| 2683 | $this->setEndDate() | |
| 2689 | this is going to be overwritten later | |
| 2692 | Copy extensions from CSR. | |
| 2704 | 'authorityCertIssuer' => array( | |
| 2705 | array( | |
| 2706 | 'directoryName' => $issuer->dn | |
| 2707 | ) | |
| 2708 | ), | |
| 2711 | $extensions = &$this->currentCert['tbsCertificate']['extensions']; | |
| 2712 | if (isset($issuer->serialNumber)) { | |
| 2713 | $extensions[count($extensions) - 1]['authorityCertSerialNumber'] = $issuer->serialNumber; | |
| 2714 | } | |
| 2715 | unset($extensions); | |
| 2729 | should an IP address appear as the CN if no domain name is specified? idk | |
| 2730 | $ips = count($subject->domains) ? $subject->ipAddresses : array_slice($subject->ipAddresses, 1); | |
| 2774 | resync $this->signatureSubject | |
| 2775 | save $tbsCertificate in case there are any \phpseclib3\File\ASN1\Element objects in it | |
| 2825 | this is going to be overwritten later | |
| 2829 | resync $this->signatureSubject | |
| 2830 | save $certificationRequestInfo in case there are any \phpseclib3\File\ASN1\Element objects in it | |
| 2865 | re-signing a SPKAC seems silly but since everything else supports re-signing why not? | |
| 2870 | the bitwise AND ensures that the output is a valid IA5String | |
| 2878 | quoting <https://developer.mozilla.org/en-US/docs/Web/HTML/Element/keygen>, | |
| 2879 | "A challenge string that is submitted along with the public key. Defaults to an empty string if not specified." | |
| 2880 | both Firefox and OpenSSL ("openssl spkac -key private.key") behave this way | |
| 2881 | we could alternatively do this instead if we ignored the specs: | |
| 2882 | Random::string(8) & str_repeat("\x7F", 8) | |
| 2886 | this is going to be overwritten later | |
| 2890 | resync $this->signatureSubject | |
| 2891 | save $publicKeyAndChallenge in case there are any \phpseclib3\File\ASN1\Element objects in it | |
| 2938 | this is going to be overwritten later | |
| 2939 | $this->setStartDate() | |
| 2942 | this is going to be overwritten later | |
| 2951 | $this->setEndDate() | |
| 2960 | "The CRL number is a non-critical CRL extension that conveys a | |
| 2961 | monotonically increasing sequence number for a given CRL scope and | |
| 2962 | CRL issuer. This extension allows users to easily determine when a | |
| 2963 | particular CRL supersedes another CRL." | |
| 2964 | -- https://tools.ietf.org/html/rfc5280#section-5.2.3 | |
| 2971 | Be sure version >= v2 if some extension found. | |
| 2975 | v2. | |
| 2979 | v2. | |
| 2989 | Store additional extensions. | |
| 2990 | At least v2. | |
| 2997 | 'authorityCertIssuer' => array( | |
| 2998 | ] | |
| 2999 | 'directoryName' => $issuer->dn | |
| 3000 | ] | |
| 3001 | ), | |
| 3004 | $extensions = &$tbsCertList['crlExtensions']; | |
| 3005 | if (isset($issuer->serialNumber)) { | |
| 3006 | $extensions[count($extensions) - 1]['authorityCertSerialNumber'] = $issuer->serialNumber; | |
| 3007 | } | |
| 3008 | unset($extensions); | |
| 3024 | resync $this->signatureSubject | |
| 3025 | save $tbsCertList in case there are any \phpseclib3\File\ASN1\Element objects in it | |
| 3124 | tools.ietf.org/html/rfc5280#section-4.1.2.5 | |
| 3345 | fix for https://bugs.php.net/75433 affecting PHP 7.2 | |
| 3718 | Assume the element is a bitstring-packed key. | |
| 3727 | If the key is private, compute identifier from its corresponding public key. | |
| 3729 | If private. | |
| 3732 | Is a public key. | |
| 3745 | Should be a key object (i.e.: \phpseclib3\Crypt\RSA). | |
| 3750 | If in PEM format, convert to binary. | |
| 3753 | Now we have the key string: compute its sha-1 sum. | |
| 3886 | If not yet revoked |
Base.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger |
BuiltIn.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger |
DefaultEngine.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger |
OpenSSL.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger |
Barrett.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger | |
| 47 | www.cacr.math.uwaterloo.ca/hac/about/chap14.pdf#page=14 HAC 14.3.3} / | |
| 48 | math.libtomcrypt.com/files/tommath.pdf#page=165 MPM 6.2.5} for more information. Modified slightly, | |
| 52 | www.cosic.esat.kuleuven.be/publications/thesis-149.pdf#page=66 thesis-149.pdf#page=66}. To quote from | |
| 57 | math.libtomcrypt.com/files/tommath.pdf#page=162 MPM 6.2.2} and (2) the fact that, even with reasonable | |
| 79 | if (m.length >> 1) + 2 <= m.length then m is too small and n can't be reduced | |
| 83 | n = 2 * m.length | |
| 94 | m.length >> 1 (technically (m.length >> 1) + 1) | |
| 95 | m.length | |
| 106 | m.length + (m.length >> 1) | |
| 107 | m.length + (m.length >> 1) + 1 (so basically we're adding two same length numbers) | |
| 108 | if ($m_length & 1) { | |
| 109 | return self::regularBarrett($n, $m); | |
| 110 | } | |
| 112 | (m.length + (m.length >> 1) + 1) - (m.length - 1) == (m.length >> 1) + 2 | |
| 114 | if even: ((m.length >> 1) + 2) + (m.length >> 1) == m.length + 2 | |
| 115 | if odd: ((m.length >> 1) + 2) + (m.length >> 1) == (m.length - 1) + 2 == m.length + 1 | |
| 117 | if even: (m.length + 2) - ((m.length >> 1) + 1) = m.length - (m.length >> 1) + 1 | |
| 118 | if odd: (m.length + 1) - ((m.length >> 1) + 1) = m.length - (m.length >> 1) | |
| 120 | if even: (m.length - (m.length >> 1) + 1) + m.length = 2 * m.length - (m.length >> 1) + 1 | |
| 121 | if odd: (m.length - (m.length >> 1)) + m.length = 2 * m.length - (m.length >> 1) | |
| 124 | at this point, if m had an odd number of digits, we'd be subtracting a 2 * m.length - (m.length >> 1) digit | |
| 125 | number from a m.length + (m.length >> 1) + 1 digit number. ie. there'd be an extra digit and the while loop | |
| 126 | following this comment would loop a lot (hence our calling _regularBarrett() in that situation). | |
| 130 | if (bccomp($result, '0') < 0) { | |
| 181 | if (bccomp($result, '0') < 0) { |
EvalBarrett.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger |
BCMath.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger | |
| 132 | round $len to the nearest 4 | |
| 139 | 4294967296 == 2**32 | |
| 154 | explicitly casting $x to a string is necessary, here, since doing $x[0] on -1 yields different | |
| 155 | results then doing it on '-1' does (modInverse does $x[0]) | |
| 291 | en.wikipedia.org/wiki/B%C3%A9zout%27s_identity Bezout's identity - Wikipedia} for more information. | |
| 298 | it might be faster to use the binary xGCD algorithim here, as well, but (1) that algorithim works | |
| 299 | best when the base is a power of 2 and (2) i don't think it'd make much difference, anyway. as is, | |
| 300 | the basic extended euclidean algorithim is what we're using. | |
| 617 | if $n was 1, $r would be 0 and this would be an infinite loop, hence our $this->equals(static::$one) check earlier |
Engine.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger | |
| 95 | '0' counts as empty() but when the base is 256 '0' is equal to ord('0') or 48 | |
| 96 | '0' is the only value like this per http://php.net/empty | |
| 144 | (?<!^)(?:-).*: find any -'s that aren't at the beginning and then any characters that follow that | |
| 145 | (?<=^|-)0*: find any 0's that are preceded by the start of the string or by a - (ie. octals) | |
| 146 | [^-0-9].*: find any non-numeric characters and then any characters that follow that | |
| 162 | ie. either -16 or +16 | |
| 170 | base not supported, so we'll let $this == 0 | |
| 210 | eg. if the number we're trying to convert is -1 | |
| 260 | www.cacr.math.uwaterloo.ca/hac/about/chap14.pdf#page=21 HAC 14.64} for more information.} | |
| 267 | $x mod -$n == $x mod $n. | |
| 321 | recalculate $this->bitmask | |
| 402 | calculuate "not" without regard to $this->precision | |
| 403 | (will always result in a smaller number. ie. ~1 isn't 1111 1110 - it's 0) | |
| 416 | see if we need to add extra leading 1's | |
| 423 | generate as many leading 1's as we need to. | |
| 448 | eg. floor($shift/8) | |
| 449 | eg. $shift % 8 | |
| 590 | www.cacr.math.uwaterloo.ca/hac/about/chap14.pdf#page=27 HAC 14.85} / | |
| 591 | math.libtomcrypt.com/files/tommath.pdf#page=210 MPM 7.7}. In a departure from those algorithims, | |
| 603 | from BigInteger.java's oddModPow function | |
| 604 | static $window_ranges = [0, 7, 36, 140, 450, 1303, 3529]; // from MPM 7.3.1 | |
| 609 | calculate the appropriate window size. | |
| 610 | $window_size == 3 if $window_ranges is between 25 and 81, for example. | |
| 620 | precompute $this^0 through $this^$window_size | |
| 625 | we do every other number since substr($e_bits, $i, $j+1) (see below) is supposed to end | |
| 626 | in a 1. ie. it's supposed to be odd. | |
| 647 | eg. the length of substr($e_bits, $i, $j + 1) | |
| 714 | if $min is bigger then $max, swap $min and $max | |
| 745 | if $min is bigger then $max, swap $min and $max | |
| 772 | crypto.stackexchange.com/questions/5708/creating-a-small-number-from-a-cryptographically-secure-random-string | |
| 810 | if $x > $max then $max is even and if $min == $max then no prime number exists between the specified range | |
| 850 | see HAC 4.49 "Note (controlling the error probability)" | |
| 851 | @codingStandardsIgnoreStart | |
| 852 | floor(1300 / 8) | |
| 853 | floor( 850 / 8) | |
| 854 | floor( 650 / 8) | |
| 855 | floor( 550 / 8) | |
| 856 | floor( 450 / 8) | |
| 857 | floor( 400 / 8) | |
| 858 | floor( 350 / 8) | |
| 859 | floor( 300 / 8) | |
| 860 | floor( 250 / 8) | |
| 861 | floor( 200 / 8) | |
| 862 | floor( 150 / 8) | |
| 864 | @codingStandardsIgnoreEnd | |
| 872 | en.wikipedia.org/wiki/Miller%E2%80%93Rabin_primality_test Miller-Rabin primality test}. | |
| 873 | www.cacr.math.uwaterloo.ca/hac/about/chap4.pdf#page=8 HAC 4.24} for more info. | |
| 940 | we want positive exponents | |
| 943 | we want positive numbers | |
| 946 | n-th root of 1 or 2 is 1 | |
| 956 | mathforum.org/library/drmath/view/52605.html this page} and {@link http://stackoverflow.com/questions/11242920/calculating-nth-root-with-bcmath-in-php this stackoverflow question}.} | |
| 965 | g is our guess number | |
| 967 | while (g^n < num) g=g*2 | |
| 971 | if (g^n==num) num is a power of 2, we're lucky, end of job | |
| 972 | == 0 bccomp(bcpow($g, $n), $n->value)==0 | |
| 978 | if we're here num wasn't a power of 2 :( | |
| 979 | og means original guess and here is our upper bound | |
| 980 | g is set to be our lower bound | |
| 981 | step is the half of upper bound - lower bound | |
| 982 | we start at lower bound + step , basically in the middle of our interval | |
| 984 | while step>1 | |
| 989 | compare our guess with real number | |
| 991 | if guess is lower we add the new step | |
| 994 | if guess is higher we sub the new step | |
| 997 | if guess is exactly the num we're done, we return the value | |
| 1007 | whatever happened, g is the closest guess we can make so return it |
DefaultEngine.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger |
GMP.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger | |
| 345 | en.wikipedia.org/wiki/B%C3%A9zout%27s_identity Bezout's identity - Wikipedia} for more information. | |
| 441 | 0xFFFFFFFF >> 2 == -1 (on 32-bit systems) | |
| 442 | gmp_init('0xFFFFFFFF') >> 2 == gmp_init('0x3FFFFFFF') |
OpenSSL.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger | |
| 62 | this is easily prone to failure. if the modulo is a multiple of 2 or 3 or whatever it | |
| 63 | won't work and you'll get a "failure: error:0906D06C:PEM routines:PEM_read_bio:no start line" | |
| 64 | error. i suppose, for even numbers, we could do what PHP\Montgomery.php does, but then what | |
| 65 | about odd numbers divisible by 3, by 5, etc? |
Base.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger | |
| 75 | islab.oregonstate.edu/papers/j34monex.pdf Montgomery Reduction with Even Modulus} elaborates. |
DefaultEngine.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger |
Montgomery.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger | |
| 53 | is the modulo odd? | |
| 57 | if it's not, it's even | |
| 59 | find the lowest set bit (eg. the max pow of 2 that divides $n) | |
| 68 | at this point, 2^$j * $n/(2^$j) == $n |
OpenSSL.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger |
Barrett.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger | |
| 32 | www.cacr.math.uwaterloo.ca/hac/about/chap14.pdf#page=14 HAC 14.3.3} / | |
| 33 | math.libtomcrypt.com/files/tommath.pdf#page=165 MPM 6.2.5} for more information. Modified slightly, | |
| 37 | www.cosic.esat.kuleuven.be/publications/thesis-149.pdf#page=66 thesis-149.pdf#page=66}. To quote from | |
| 42 | math.libtomcrypt.com/files/tommath.pdf#page=162 MPM 6.2.2} and (2) the fact that, even with reasonable | |
| 61 | if (self::compareHelper($n, $static::square($m)) >= 0) { | |
| 71 | if (m.length >> 1) + 2 <= m.length then m is too small and n can't be reduced | |
| 75 | n = 2 * m.length | |
| 93 | m.length >> 1 (technically (m.length >> 1) + 1) | |
| 94 | m.length | |
| 101 | m.length + (m.length >> 1) | |
| 102 | m.length >> 1 | |
| 105 | m.length + (m.length >> 1) | |
| 106 | m.length + (m.length >> 1) + 1 (so basically we're adding two same length numbers) | |
| 107 | if ($m_length & 1) { | |
| 108 | return self::regularBarrett($n[self::VALUE], $m, $class); | |
| 109 | } | |
| 111 | (m.length + (m.length >> 1) + 1) - (m.length - 1) == (m.length >> 1) + 2 | |
| 113 | if even: ((m.length >> 1) + 2) + (m.length >> 1) == m.length + 2 | |
| 114 | if odd: ((m.length >> 1) + 2) + (m.length >> 1) == (m.length - 1) + 2 == m.length + 1 | |
| 116 | if even: (m.length + 2) - ((m.length >> 1) + 1) = m.length - (m.length >> 1) + 1 | |
| 117 | if odd: (m.length + 1) - ((m.length >> 1) + 1) = m.length - (m.length >> 1) | |
| 119 | if even: (m.length - (m.length >> 1) + 1) + m.length = 2 * m.length - (m.length >> 1) + 1 | |
| 120 | if odd: (m.length - (m.length >> 1)) + m.length = 2 * m.length - (m.length >> 1) | |
| 123 | at this point, if m had an odd number of digits, we'd be subtracting a 2 * m.length - (m.length >> 1) digit | |
| 124 | number from a m.length + (m.length >> 1) + 1 digit number. ie. there'd be an extra digit and the while loop | |
| 125 | following this comment would loop a lot (hence our calling _regularBarrett() in that situation). | |
| 174 | m.length | |
| 178 | 2 * m.length - (m.length - 1) = m.length + 1 | |
| 180 | (m.length + 1) + m.length = 2 * m.length + 1 | |
| 182 | (2 * m.length + 1) - (m.length - 1) = m.length + 2 | |
| 185 | m.length + 1 | |
| 187 | m.length + 1 | |
| 189 | $temp == array_slice($class::regularMultiply($temp, false, $n, false)->value, 0, $n_length + 1) | |
| 198 | at this point, we're subtracting a number with m.length + 1 digits from another number with m.length + 1 digits | |
| 226 | a 0 is being multiplied | |
| 244 | the following for loop could be removed if the for loop following it | |
| 245 | (the one with nested for loops) initially set $i to 0, but | |
| 246 | doing so would also make the result in one set of unnecessary adds, | |
| 247 | since on the outermost loops first pass, $product->value[$k] is going | |
| 248 | to always be 0 | |
| 252 | ie. $i = 0, $k = $i | |
| 253 | $product_value[$k] == 0 | |
| 262 | the above for loop is what the previous comment was talking about. the | |
| 263 | following for loop is the "one with nested for loops" |
Classic.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger |
EvalBarrett.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger | |
| 82 | self::$custom_reduction = \Closure::bind($func, $m, $class); | |
| 161 | self::$custom_reduction = \Closure::bind($func, $m, $class); | |
| 252 | if (count($arr) < 2 * self::KARATSUBA_CUTOFF) { | |
| 253 | } | |
| 454 | do subcode |
Montgomery.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger | |
| 52 | www.cacr.math.uwaterloo.ca/hac/about/chap14.pdf#page=13 HAC 14.36} | |
| 98 | www-cs-students.stanford.edu/~tjw/jsbn/jsbn.js} | |
| 102 | groups.google.com/group/sci.crypt/msg/7a137205c1be7d85} | |
| 118 | 2**26 == 67,108,864 | |
| 121 | x**-1 mod 2**2 | |
| 122 | x**-1 mod 2**4 | |
| 123 | x**-1 mod 2**8 | |
| 124 | x**-1 mod 2**16 | |
| 126 | x**-1 mod 2**26 |
MontgomeryMult.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger | |
| 33 | www.cacr.math.uwaterloo.ca/hac/about/chap14.pdf#page=13 HAC 14.36} | |
| 46 | the following code, although not callable, can be run independently of the above code | |
| 47 | although the above code performed better in my benchmarks the following could might | |
| 48 | perform better under different circumstances. in lieu of deleting it it's just been | |
| 49 | made uncallable |
PowerOfTwo.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger |
PHP.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger | |
| 232 | subtract, if appropriate | |
| 256 | just in case the carry adds an extra digit | |
| 260 | $sum = $x_value[$j] * static::BASE_FULL + $x_value[$i] + $y_value[$j] * static::BASE_FULL + $y_value[$i] + $carry; | |
| 262 | eg. floor($sum / 2**52); only possible values (in any base) are 0 and 1 | |
| 267 | eg. a faster alternative to fmod($sum, 0x4000000) | |
| 271 | ie. if $y_size is odd | |
| 275 | ie. let $i = $j since we've just done $value[$i] | |
| 317 | add, if appropriate (ie. -$x - +$y or +$x - -$y) | |
| 334 | switch $x and $y around, if appropriate. | |
| 346 | at this point, $x_value should be at least as big as - if not bigger than - $y_value | |
| 352 | eg. floor($sum / 2**52); only possible values (in any base) are 0 and 1 | |
| 361 | ie. if $y_size is odd | |
| 392 | if ( $x_value == $y_value ) { | |
| 393 | return [ | |
| 394 | self::VALUE => self::square($x_value), | |
| 395 | self::SIGN => $x_sign != $y_value | |
| 396 | ]; | |
| 397 | } | |
| 402 | a 0 is being multiplied | |
| 420 | en.wikipedia.org/wiki/Karatsuba_algorithm Karatsuba algorithm} and | |
| 421 | math.libtomcrypt.com/files/tommath.pdf#page=120 MPM 5.2.3}. | |
| 472 | a 0 is being multiplied | |
| 478 | the following for loop could be removed if the for loop following it | |
| 479 | (the one with nested for loops) initially set $i to 0, but | |
| 480 | doing so would also make the result in one set of unnecessary adds, | |
| 481 | since on the outermost loops first pass, $product->value[$k] is going | |
| 482 | to always be 0 | |
| 485 | ie. $i = 0 | |
| 486 | $product_value[$k] == 0 | |
| 493 | the above for loop is what the previous comment was talking about. the | |
| 494 | following for loop is the "one with nested for loops" | |
| 520 | www.cacr.math.uwaterloo.ca/hac/about/chap14.pdf#page=9 HAC 14.20}. | |
| 552 | if $x is negative, "add" $y. | |
| 559 | normalize $x and $y as described in HAC 14.23 / 14.24 | |
| 584 | $temp = $y << ($x_max - $y_max-1) in base 2**26 | |
| 588 | calculate the "common residue" | |
| 650 | unnormalize the remainder | |
| 655 | calculate the "common residue", if appropriate | |
| 705 | static::BASE === 31 | |
| 840 | could just replace lshift with this, but then all lshift() calls would need to be rewritten | |
| 841 | and I don't want to do that... | |
| 859 | could just replace _rshift with this, but then all _lshift() calls would need to be rewritten | |
| 860 | and I don't want to do that... | |
| 991 | www.cacr.math.uwaterloo.ca/hac/about/chap14.pdf#page=7 HAC 14.2.4} / | |
| 992 | math.libtomcrypt.com/files/tommath.pdf#page=141 MPM 5.3} for more information. | |
| 1011 | note how we start from $i+1 instead of 0 as we do in multiplication. | |
| 1018 | the following line can yield values larger 2**15. at this point, PHP should switch | |
| 1019 | over to floats. | |
| 1029 | en.wikipedia.org/wiki/Karatsuba_algorithm Karatsuba algorithm} and | |
| 1030 | math.libtomcrypt.com/files/tommath.pdf#page=151 MPM 5.3.4}. | |
| 1138 | n^0 = 1 |
PHP32.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger | |
| 31 | Constants used by PHP.php |
PHP64.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | pear.php.net/package/Math_BigInteger | |
| 31 | Constants used by PHP.php |
BigInteger.php
| Type | Line | Description |
|---|---|---|
| 19 | outputs 5 | |
| 27 | www.opensource.org/licenses/mit-license.html MIT License | |
| 287 | outputs 0 | |
| 289 | outputs 10 | |
| 424 | recalculate $this->bitmask |
Integer.php
| Type | Line | Description |
|---|---|---|
| 20 | www.opensource.org/licenses/mit-license.html MIT License | |
| 163 | en.wikipedia.org/wiki/Polynomial_greatest_common_divisor#Euclidean_division | |
| 167 | in wikipedia's description of the algorithm, lc() is the leading coefficient. over a binary field that's | |
| 168 | always going to be 1. | |
| 193 | en.wikipedia.org/wiki/Finite_field_arithmetic#Multiplication | |
| 212 | precompute left shift 1 through 7 | |
| 232 | en.wikipedia.org/wiki/Karatsuba_algorithm | |
| 285 | www.bearssl.org/constanttime.html#ghash-for-gcm | |
| 310 | 0x8888888888888888 gets interpreted as a float | |
| 407 | the auxiliary in row n is given by the sum of the auxiliary in | |
| 408 | row n-2 and the product of the quotient and the auxiliary in row | |
| 409 | n-1 | |
| 487 | return str_pad(BinaryField::base256ToBase2($this->value), strlen(static::$modulo[$this->instanceID]), '0', STR_PAD_LEFT); |
BinaryField.php
| Type | Line | Description |
|---|---|---|
| 14 | www.opensource.org/licenses/mit-license.html MIT License | |
| 76 | implements algorithm 2.40 (in section 2.3.5) in "Guide to Elliptic Curve Cryptography" | |
| 77 | with W = 8 |
Integer.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License |
FiniteField.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License |
Integer.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 221 | en.wikipedia.org/wiki/Tonelli%E2%80%93Shanks_algorithm | |
| 320 | return $this->value->toBits(); | |
| 341 | $sub = new BigInteger(1 << ($w - 1)); | |
| 348 | start mods | |
| 351 | $sub->subtract($d->bitwise_and($mask)) : | |
| 353 | end mods | |
| 359 | $w or $w + 1? |
PrimeField.php
| Type | Line | Description |
|---|---|---|
| 14 | www.opensource.org/licenses/mit-license.html MIT License | |
| 15 | pear.php.net/package/Math_BigInteger | |
| 51 | if (!$modulo->isPrime()) { | |
| 52 | throw new \UnexpectedValueException('PrimeField requires a prime number be passed to the constructor'); | |
| 53 | } |
Stream.php
| Type | Line | Description |
|---|---|---|
| 6 | protocol handler that can be used with, for example, fopen(), dir(), etc. | |
| 14 | www.opensource.org/licenses/mit-license.html MIT License | |
| 15 | phpseclib.sourceforge.net | |
| 215 | casting $pass to a string is necessary in the event that it's a \phpseclib3\Crypt\RSA object | |
| 312 | commented out because some files - eg. /dev/urandom - will say their size is 0 when in fact it's kinda infinite | |
| 313 | if ($this->pos >= $this->size) { | |
| 314 | $this->eof = true; | |
| 315 | return false; | |
| 316 | } | |
| 324 | seems that PHP calls stream_read in 8k chunks | |
| 328 | ie. false or empty string | |
| 357 | seems that PHP splits up strings into 8k blocks before calling stream_write | |
| 445 | stream_metadata was introduced in PHP 5.4.0 but as of 5.4.11 the constants haven't been defined | |
| 446 | see http://www.php.net/streamwrapper.stream-metadata and https://bugs.php.net/64246 | |
| 447 | and https://github.com/php/php-src/blob/master/main/php_streams.h#L592 | |
| 449 | PHP_STREAM_META_TOUCH | |
| 453 | PHP_STREAM_OWNER_NAME | |
| 454 | PHP_STREAM_GROUP_NAME | |
| 456 | PHP_STREAM_META_OWNER | |
| 458 | PHP_STREAM_META_GROUP | |
| 460 | PHP_STREAM_META_ACCESS | |
| 516 | the $component part of parse_url() was added in PHP 5.1.2 | |
| 517 | "It is an error if there already exists a file with the name specified by newpath." | |
| 518 | -- http://tools.ietf.org/html/draft-ietf-secsh-filexfer-02#section-6.5 | |
| 625 | php.net/streamwrapper.rmdir>, however, | |
| 626 | php.net/rmdir> does not have a $recursive parameter as mkdir() does so I don't know how | |
| 648 | php.net/fflush>. Always returns true because \phpseclib3\Net\SFTP doesn't cache stuff before writing |
SFTP.php
| Type | Line | Description |
|---|---|---|
| 12 | php.net/book.ftp FTP extension}. | |
| 34 | www.opensource.org/licenses/mit-license.html MIT License | |
| 35 | phpseclib.sourceforge.net | |
| 78 | this value isn't really used anymore but i'm keeping it reserved for historical reasons | |
| 318 | tools.ietf.org/html/draft-ietf-secsh-filexfer-13#section-8.1.1 | |
| 319 | tools.ietf.org/html/draft-ietf-secsh-filexfer-04#section-6.3 */ | |
| 334 | tools.ietf.org/html/draft-ietf-secsh-filexfer-13#section-8.3 | |
| 335 | tools.ietf.org/html/draft-ietf-secsh-filexfer-04#section-6.5 */ | |
| 343 | tools.ietf.org/html/draft-ietf-secsh-filexfer-13#section-9.4 | |
| 344 | tools.ietf.org/html/draft-ietf-secsh-filexfer-02#section-7 */ | |
| 385 | http://tools.ietf.org/html/draft-ietf-secsh-filexfer-13#section-7.1 | |
| 386 | the order, in this case, matters quite a lot - see \phpseclib3\Net\SFTP::_parseAttributes() to understand why | |
| 389 | defined in SFTPv3, removed in SFTPv4+ | |
| 392 | 0x80000000 will yield a floating point on 32-bit systems and converting floating points to integers | |
| 393 | yields inconsistent behavior depending on how php is compiled. so we left shift -1 (which, in | |
| 394 | two's compliment, consists of all 1 bits) by 31. on 64-bit systems this'll yield 0xFFFFFFFF80000000. | |
| 395 | that's not a problem, however, and 'anded' and a 32-bit number, as all the leading 1 bits are ignored. | |
| 398 | http://tools.ietf.org/html/draft-ietf-secsh-filexfer-04#section-6.3 | |
| 399 | the flag definitions change somewhat in SFTPv5+. if SFTPv5+ support is added to this library, maybe name | |
| 400 | the array for that $this->open5_flags and similarly alter the constant names. | |
| 409 | http://tools.ietf.org/html/draft-ietf-secsh-filexfer-04#section-5.2 | |
| 410 | see \phpseclib3\Net\SFTP::_parseLongname() for an explanation | |
| 417 | the following types were first defined for use in SFTPv5+ | |
| 418 | http://tools.ietf.org/html/draft-ietf-secsh-filexfer-05#section-5.2 | |
| 498 | from PuTTY's psftp.exe | |
| 502 | we don't do $this->exec($command, false) because exec() operates on a different channel and plus the SSH_MSG_CHANNEL_OPEN that exec() does | |
| 503 | is redundant | |
| 555 | tools.ietf.org/html/draft-ietf-secsh-filexfer-13#section-5.1> states the following: | |
| 564 | tools.ietf.org/html/draft-ietf-secsh-filexfer-13#section-5.5> states the following; | |
| 697 | http://tools.ietf.org/html/draft-ietf-secsh-filexfer-13#section-8.9 | |
| 703 | although SSH_FXP_NAME is implemented differently in SFTPv3 than it is in SFTPv4+, the following | |
| 704 | should work on all SFTP versions since the only part of the SSH_FXP_NAME packet the following looks | |
| 705 | at is the first part and that part is defined the same in SFTP versions 3 through 6. | |
| 754 | assume current dir if $dir is empty | |
| 757 | suffix a slash if needed | |
| 764 | confirm that $dir is, in fact, a valid directory | |
| 770 | we could do a stat on the alleged $dir to see if it's a directory but that doesn't tell us | |
| 771 | the currently logged in user has the appropriate permissions or not. maybe you could see if | |
| 772 | the file's uid / gid match the currently logged in user's uid / gid but how there's no easy | |
| 773 | way to get those with SFTP | |
| 777 | see \phpseclib3\Net\SFTP::nlist() for a more thorough explanation of the following | |
| 913 | http://tools.ietf.org/html/draft-ietf-secsh-filexfer-13#section-8.1.2 | |
| 919 | http://tools.ietf.org/html/draft-ietf-secsh-filexfer-13#section-9.2 | |
| 920 | since 'handle' is the last field in the SSH_FXP_HANDLE packet, we'll just remove the first four bytes that | |
| 921 | represent the length of the string and leave it at that | |
| 925 | presumably SSH_FX_NO_SUCH_FILE or SSH_FX_PERMISSION_DENIED | |
| 937 | http://tools.ietf.org/html/draft-ietf-secsh-filexfer-13#section-8.2.2 | |
| 938 | why multiple SSH_FXP_READDIR packets would be sent when the response to a single one can span arbitrarily many | |
| 939 | SSH_MSG_CHANNEL_DATA messages is not known to me. | |
| 967 | SFTPv6 has an optional boolean end-of-list field, but we'll ignore that, since the | |
| 968 | final SSH_FXP_STATUS packet should tell us that, already. | |
| 1107 | preg_replace('#^/|/(?=/)|/$#', '', $dir) == str_replace('//', '/', trim($path, '/')) | |
| 1113 | if $temp is an object that means one of two things. | |
| 1114 | 1. a file was deleted and changed to a directory behind phpseclib's back | |
| 1115 | 2. it's a symlink. when lstat is done it's unclear what it's a symlink to | |
| 1328 | SFTPv4+ adds an additional 32-bit integer field - flags - to the following: | |
| 1355 | 4294967296 == 0x100000000 == 1<<32 | |
| 1423 | quoting from <http://www.kernel.org/doc/man-pages/online/pages/man2/chown.2.html>, | |
| 1424 | "if the owner or group is specified as -1, then that ID is not changed" | |
| 1478 | rather than return what the permissions *should* be, we'll return what they actually are. this will also | |
| 1479 | tell us if the file actually exists. | |
| 1480 | incidentally, SFTPv4+ adds an additional 32-bit integer field - flags - to the following: | |
| 1528 | SFTPv4+ has an additional byte field - type - that would need to be sent, as well. setting it to | |
| 1529 | SSH_FILEXFER_TYPE_UNKNOWN might work. if not, we'd have to do an SSH_FXP_STAT before doing an SSH_FXP_SETSTAT. | |
| 1537 | tools.ietf.org/html/draft-ietf-secsh-filexfer-13#section-8.6 | |
| 1577 | normally $entries would have at least . and .. but it might not if the directories | |
| 1578 | permissions didn't allow reading | |
| 1653 | the file isn't a symlink | |
| 1680 | $target = $this->realpath($target); | |
| 1745 | send SSH_FXP_MKDIR without any attributes (that's what the \0\0\0\0 is doing) | |
| 1796 | presumably SSH_FX_NO_SUCH_FILE or SSH_FX_PERMISSION_DENIED? | |
| 1802 | the following will do a soft delete, which would be useful if you deleted a file | |
| 1803 | and then tried to do a stat on the deleted file. the above, in contrast, does | |
| 1804 | a hard delete | |
| 1805 | $this->update_stat_cache($dir, false); | |
| 1871 | according to the SFTP specs, NET_SFTP_OPEN_APPEND should "force all writes to append data at the end of the file." | |
| 1872 | in practice, it doesn't seem to do that. | |
| 1873 | $flags|= ($mode & self::RESUME) ? NET_SFTP_OPEN_APPEND : NET_SFTP_OPEN_TRUNCATE; | |
| 1878 | if NET_SFTP_OPEN_APPEND worked as it should _size() wouldn't need to be called | |
| 1904 | http://tools.ietf.org/html/draft-ietf-secsh-filexfer-13#section-8.2.3 | |
| 1912 | do nothing | |
| 1918 | memory', 'w+'); | |
| 1953 | make the SFTP packet be exactly the SFTP packet size by including the bytes in the NET_SFTP_WRITE packets "header" | |
| 2059 | "The client MUST release all resources associated with the handle regardless of the status." | |
| 2060 | -- http://tools.ietf.org/html/draft-ietf-secsh-filexfer-13#section-8.1.3 | |
| 2113 | presumably SSH_FX_NO_SUCH_FILE or SSH_FX_PERMISSION_DENIED | |
| 2197 | could, in theory, return false if !strlen($content) but we'll hold off for the time being | |
| 2199 | don't break out of the loop yet, so we can read the remaining responses | |
| 2242 | if $content isn't set that means a file was written to | |
| 2262 | It's an object. Cast it as string before we check anything else. | |
| 2275 | http://tools.ietf.org/html/draft-ietf-secsh-filexfer-13#section-8.3 | |
| 2284 | if $status isn't SSH_FX_OK it's probably SSH_FX_NO_SUCH_FILE or SSH_FX_PERMISSION_DENIED | |
| 2321 | normally $entries would have at least . and .. but it might not if the directories | |
| 2322 | permissions didn't allow reading | |
| 2383 | return true if $result is an array or if it's an stdClass object | |
| 2455 | presumably SSH_FX_NO_SUCH_FILE or SSH_FX_PERMISSION_DENIED | |
| 2479 | presumably SSH_FX_NO_SUCH_FILE or SSH_FX_PERMISSION_DENIED | |
| 2688 | http://tools.ietf.org/html/draft-ietf-secsh-filexfer-13#section-8.3 | |
| 2698 | if $status isn't SSH_FX_OK it's probably SSH_FX_NO_SUCH_FILE or SSH_FX_PERMISSION_DENIED | |
| 2705 | don't move the stat cache entry over since this operation could very well change the | |
| 2706 | atime and mtime attributes | |
| 2707 | $this->update_stat_cache($newname, $this->query_stat_cache($oldname)); | |
| 2728 | SFTPv4+ have a type field (a byte) that follows the above flag field | |
| 2731 | 0x00000001 | |
| 2732 | The size attribute is defined as an unsigned 64-bit integer. | |
| 2733 | The following will use floats on 32-bit platforms, if necessary. | |
| 2734 | As can be seen in the BigInteger class, floats are generally | |
| 2735 | IEEE 754 binary64 "double precision" on such platforms and | |
| 2736 | as such can represent integers of at least 2^50 without loss | |
| 2737 | of precision. Interpreted in filesize, 2^50 bytes = 1024 TiB. | |
| 2742 | 0x00000002 (SFTPv3 only) | |
| 2745 | 0x00000004 | |
| 2752 | 0x00000008 | |
| 2755 | 0x80000000 | |
| 2777 | values come from http://lxr.free-electrons.com/source/include/uapi/linux/stat.h#L12 | |
| 2778 | see, also, http://linux.die.net/man/2/stat | |
| 2779 | ie. 1111 0000 0000 0000 | |
| 2780 | no file type specified - figure out the file type using alternative means | |
| 2788 | new types introduced in SFTPv5+ | |
| 2789 | http://tools.ietf.org/html/draft-ietf-secsh-filexfer-05#section-5.2 | |
| 2790 | named pipe (fifo) | |
| 2792 | character special | |
| 2794 | block special | |
| 2796 | socket | |
| 2798 | whiteout | |
| 2799 | "SPECIAL should be used for files that are of | |
| 2800 | a known type which cannot be expressed in the protocol" | |
| 2814 | tools.ietf.org/html/draft-ietf-secsh-filexfer-04#section-5.2 SFTPv4 type constants}. | |
| 2824 | http://en.wikipedia.org/wiki/Unix_file_types | |
| 2825 | http://en.wikipedia.org/wiki/Filesystem_permissions#Notation_of_traditional_Unix_permissions | |
| 2857 | in SSH2.php the timeout is cumulative per function call. eg. exec() will | |
| 2858 | timeout after 10s. but for SFTP.php it's cumulative per packet | |
| 2933 | in SSH2.php the timeout is cumulative per function call. eg. exec() will | |
| 2934 | timeout after 10s. but for SFTP.php it's cumulative per packet | |
| 2939 | SFTP packet length | |
| 2961 | 256 * 1024 is what SFTP_MAX_MSG_LENGTH is set to in OpenSSH's sftp-common.h | |
| 2966 | SFTP packet type and data payload | |
| 2983 | remove the request id | |
| 2984 | account for the request id and the packet type | |
| 2986 | account for the packet type | |
| 3043 | case self::LOG_SIMPLE: |
SSH2.php
| Type | Line | Description |
|---|---|---|
| 44 | www.opensource.org/licenses/mit-license.html MIT License | |
| 45 | phpseclib.sourceforge.net | |
| 63 | Used to do Diffie-Hellman key exchange and DSA/RSA signature verification. | |
| 84 | Execution Bitmap Masks | |
| 108 | PuTTy uses 0x100 | |
| 148 | 1024 * 1024 | |
| 364 | tools.ietf.org/html/rfc4253#section-6 | |
| 466 | tools.ietf.org/html/rfc4253#section-7.2 | |
| 515 | tools.ietf.org/html/rfc4254#section-8 | |
| 525 | tools.ietf.org/html/rfc4254#section-5.2 | |
| 955 | php.net/manual/en/wrappers.ssh2.php#refsect1-wrappers.ssh2-examples} | |
| 1028 | tools.ietf.org/html/rfc4252#section-5.1 | |
| 1115 | RFC 4419 - diffie-hellman-group-exchange-sha{1,256} | |
| 1121 | RFC 5656 - Elliptic Curves (for curve25519-sha256@libssh.org) | |
| 1157 | tools.ietf.org/html/rfc4253#section-4.2 says "when the connection has been established, | |
| 1171 | tools.ietf.org/html/rfc4253#section-4.2 says "when the connection has been established, | |
| 1185 | tools.ietf.org/html/rfc4253#section-7.1 says "key exchange begins by each sending | |
| 1199 | tools.ietf.org/html/rfc4253#section-7.1 says "key exchange begins by each sending | |
| 1231 | with stream_select a timeout of 0 means that no timeout takes place; | |
| 1232 | with fsockopen a timeout of 0 means that you instantly timeout | |
| 1233 | to resolve this incompatibility a timeout of 100,000 will be used for fsockopen if timeout is 0 | |
| 1292 | quoting RFC4253, "Implementers who wish to maintain | |
| 1293 | compatibility with older, undocumented versions of this protocol may | |
| 1294 | want to process the identification string without expecting the | |
| 1295 | presence of the carriage return character for reasons described in | |
| 1296 | Section 5 of this document." | |
| 1298 | if (substr($line, -2) == "\r\n") { | |
| 1299 | break; | |
| 1300 | } | |
| 1430 | some SSH servers have buggy implementations of some of the above algorithms | |
| 1461 | language, client to server | |
| 1462 | language, server to client | |
| 1463 | first_kex_packet_follows | |
| 1464 | reserved for future extension | |
| 1481 | skip past the message number (it should be SSH_MSG_KEXINIT) | |
| 1502 | we need to decide upon the symmetric encryption algorithms before we do the diffie-hellman key exchange | |
| 1504 | we don't initialize any crypto-objects, yet - we do that, later. for now, we need the lengths to make the | |
| 1505 | diffie-hellman key exchange as fast as possible | |
| 1520 | through diffie-hellman key exchange a symmetric key is obtained | |
| 1581 | Only relevant in diffie-hellman-group-exchange-sha{1,256}, otherwise empty. | |
| 1637 | 2 * 8 * $keyLength | |
| 1713 | case 'ssh-rsa': | |
| 1812 | see https://tools.ietf.org/html/rfc5647#section-7.1 | |
| 1842 | tools.ietf.org/html/rfc4345#section-4 */ | |
| 1855 | $mac_algorithm_out = 'none'; | |
| 1875 | $mac_algorithm_in = 'none'; | |
| 2027 | www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/ssh2-aesctr-openssh.html | |
| 2028 | bugzilla.mindrot.org/show_bug.cgi?id=1291 | |
| 2060 | try logging with 'none' as an authentication method first since that's what | |
| 2061 | PuTTY does | |
| 2103 | tools.ietf.org/html/rfc4251#section-9.3.9 traffic analysis} | |
| 2203 | remove the username and password from the logged packet | |
| 2224 | in theory, the password can be changed | |
| 2232 | can we use keyboard-interactive authentication? if not then either the login is bad or the server employees | |
| 2233 | multi-factor authentication | |
| 2255 | tools.ietf.org/html/rfc4256 RFC4256} for details. This is not a full-featured keyboard-interactive authenticator. | |
| 2270 | language tag | |
| 2271 | submethods | |
| 2298 | name; may be empty | |
| 2299 | instruction; may be empty | |
| 2300 | language tag; may be empty | |
| 2317 | prompt - ie. "Password: "; must not be empty | |
| 2318 | echo | |
| 2329 | see http://tools.ietf.org/html/rfc4256#section-3.2 | |
| 2345 | see http://tools.ietf.org/html/rfc4256#section-3.4 | |
| 2361 | maybe phpseclib should force close the connection after x request / responses? unless something like that is done | |
| 2362 | there could be an infinite loop of request / responses. | |
| 2399 | tools.ietf.org/html/rfc4251#section-9.3.9 traffic analysis} | |
| 2428 | case 'ssh-rsa': | |
| 2441 | nistp256 | |
| 2445 | nistp384 | |
| 2449 | nistp521 | |
| 2491 | we'll just take it on faith that the public key blob and the public key algorithm name are as | |
| 2492 | they should be | |
| 2518 | either the login is bad or the server employs multi-factor authentication | |
| 2594 | RFC4254 defines the (client) window size as "bytes the other party can send before it must wait for the window to | |
| 2595 | be adjusted". 0x7FFFFFFF is, at 2GB, the max size. technically, it should probably be decremented, but, | |
| 2596 | honestly, if you're transferring more than 2GB, you probably shouldn't be using phpseclib, anyway. | |
| 2597 | see http://tools.ietf.org/html/rfc4254#section-5.2 for more info | |
| 2599 | 0x8000 is the maximum max packet size, per http://tools.ietf.org/html/rfc4253#section-6.1, although since PuTTy | |
| 2600 | uses 0x4000, that's what will be used here, as well. | |
| 2649 | sending a pty-req SSH_MSG_CHANNEL_REQUEST message is unnecessary and, in fact, in most cases, slows things | |
| 2650 | down. the one place where it might be desirable is if you're doing something like \phpseclib3\Net\SSH2::exec('ping localhost &'). | |
| 2651 | with a pty-req SSH_MSG_CHANNEL_REQUEST, exec() will return immediately and the ping process will then | |
| 2652 | then immediately terminate. without such a request exec() will loop indefinitely. the ping process won't end but | |
| 2653 | neither will your script. | |
| 2655 | although, in theory, the size of SSH_MSG_CHANNEL_REQUEST could exceed the maximum packet size established by | |
| 2656 | SSH_MSG_CHANNEL_OPEN_CONFIRMATION, RFC4254#section-5.1 states that the "maximum packet size" refers to the | |
| 2657 | "maximum size of an individual data packet". ie. SSH_MSG_CHANNEL_DATA. RFC4254#section-5.2 corroborates. | |
| 2741 | want reply | |
| 2757 | want reply | |
| 3061 | php.net/manual/en/mysqli.ping.php | |
| 3183 | this can return a "stream_select(): unable to select [4]: Interrupted system call" error | |
| 3244 | this is the same approach that's implemented in Salsa20::createPoly1305Key() | |
| 3245 | but we don't want to use the same AEAD construction that RFC8439 describes | |
| 3246 | for ChaCha20-Poly1305 so we won't rely on it (see Salsa20::poly1305()) | |
| 3298 | should leave $raw empty | |
| 3324 | if ($this->decompress) { | |
| 3325 | $payload = gzinflate(substr($payload, 2)); | |
| 3326 | } | |
| 3368 | quoting <http://tools.ietf.org/html/rfc4253#section-6.1>, | |
| 3369 | "implementations SHOULD check that the packet length is reasonable" | |
| 3370 | PuTTY uses 0x9000 as the actual max packet size and so to shall we | |
| 3371 | don't do this when GCM mode is used since GCM mode doesn't encrypt the length | |
| 3423 | second byte is "always_display" | |
| 3440 | see http://tools.ietf.org/html/rfc4252#section-5.4; only called when the encryption has been activated and when we haven't already logged in | |
| 3447 | only called when we've already logged in | |
| 3458 | want reply | |
| 3475 | see http://tools.ietf.org/html/rfc4254#section-4 | |
| 3488 | see http://tools.ietf.org/html/rfc4254#section-5.1 | |
| 3528 | description | |
| 3529 | language tag | |
| 3677 | will not be setup yet on incoming channel open request | |
| 3681 | resize the window, if appropriate | |
| 3683 | PuTTY does something more analogous to the following: | |
| 3684 | if ($this->window_size_server_to_client[$channel] < 0x3FFFFFFF) { | |
| 3697 | currently, there's only one possible value for $data_type_code: NET_SSH2_EXTENDED_DATA_STDERR | |
| 3720 | FALSE | |
| 3722 | core dumped | |
| 3740 | "The client MAY ignore these messages." | |
| 3741 | -- http://tools.ietf.org/html/rfc4254#section-6.10 | |
| 3745 | "Some systems may not implement signals, in which case they SHOULD ignore this message." | |
| 3746 | -- http://tools.ietf.org/html/rfc4254#section-6.9 | |
| 3769 | case NET_SSH2_MSG_CHANNEL_OPEN_FAILURE: | |
| 3778 | $this->channel_status[$channel] = NET_SSH2_MSG_CHANNEL_DATA; | |
| 3800 | ie. $this->channel_status[$channel] == NET_SSH2_MSG_CHANNEL_DATA | |
| 3804 | if ($this->channel_status[$channel] == NET_SSH2_MSG_IGNORE) { | |
| 3805 | $this->channel_status[$channel] = NET_SSH2_MSG_CHANNEL_DATA; | |
| 3806 | } | |
| 3810 | SCP requires null packets, such as this, be sent. further, in the case of the ssh.com SSH server | |
| 3811 | this actually seems to make things twice as fast. more to the point, the message right after | |
| 3812 | SSH_MSG_CHANNEL_DATA (usually SSH_MSG_IGNORE) won't block for as long as it would have otherwise. | |
| 3813 | in OpenSSH it slows things down but only by a couple thousandths of a second. | |
| 3876 | if ($this->compress) { | |
| 3877 | // the -4 removes the checksum: | |
| 3878 | // http://php.net/function.gzcompress#57710 | |
| 3879 | $data = substr(gzcompress($data), 0, -4); | |
| 3880 | } | |
| 3882 | 4 (packet length) + 1 (padding length) + 4 (minimal padding amount) == 9 | |
| 3887 | round up to the nearest $this->encrypt_block_size | |
| 3889 | subtracting strlen($data) is obvious - subtracting 5 is necessary because of packet_length and padding_length | |
| 3900 | we subtract 4 from packet_length because the packet_length field isn't supposed to include itself | |
| 3934 | this is the same approach that's implemented in Salsa20::createPoly1305Key() | |
| 3935 | but we don't want to use the same AEAD construction that RFC8439 describes | |
| 3936 | for ChaCha20-Poly1305 so we won't rely on it (see Salsa20::poly1305()) | |
| 3994 | remove the byte identifying the message type from all but the first two messages (ie. the identification strings) | |
| 4000 | useful for benchmarks | |
| 4004 | the most useful log for SSH2 | |
| 4014 | dump the output out realtime; packets may be interspersed with non packets, | |
| 4015 | passwords won't be filtered out and select other packets may not be correctly | |
| 4016 | identified | |
| 4030 | basically the same thing as self::LOG_REALTIME with the caveat that NET_SSH2_LOG_REALTIME_FILENAME | |
| 4031 | needs to be defined and that the resultant log file will be capped out at self::LOG_MAX_SIZE. | |
| 4032 | the earliest part of the log file is denoted by the first <<< START >>> and is not going to necessarily | |
| 4033 | at the beginning of the file | |
| 4036 | PHP doesn't seem to like using constants in fopen() | |
| 4075 | using an invalid channel will let the buffers be built up for the valid channels | |
| 4083 | tools.ietf.org/html/rfc4254#section-5.2 */ | |
| 4117 | see http://tools.ietf.org/html/rfc4254#section-5.3 | |
| 4241 | replace non ASCII printable characters with dots | |
| 4242 | http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters | |
| 4243 | also replace < with a . since < messes up the output on web browsers | |
| 4365 | Elliptic Curve Diffie-Hellman Key Agreement (ECDH) using | |
| 4366 | Curve25519. See doc/curve25519-sha256@libssh.org.txt in the | |
| 4367 | libssh repository for more information. | |
| 4371 | RFC 5656 | |
| 4372 | RFC 5656 | |
| 4373 | RFC 5656 | |
| 4375 | RFC 4419 | |
| 4376 | RFC 4419 | |
| 4378 | Diffie-Hellman Key Agreement (DH) using integer modulo prime | |
| 4379 | groups. | |
| 4381 | REQUIRED | |
| 4387 | REQUIRED | |
| 4402 | https://tools.ietf.org/html/draft-ietf-curdle-ssh-ed25519-02 | |
| 4403 | RFC 5656 | |
| 4404 | RFC 5656 | |
| 4405 | RFC 5656 | |
| 4406 | RFC 8332 | |
| 4407 | RFC 8332 | |
| 4408 | RECOMMENDED sign Raw RSA Key | |
| 4409 | REQUIRED sign Raw DSS Key | |
| 4422 | from <https://tools.ietf.org/html/rfc5647>: | |
| 4426 | from <http://tools.ietf.org/html/rfc4345#section-4>: | |
| 4430 | 'arcfour', // OPTIONAL the ARCFOUR stream cipher with a 128-bit key | |
| 4432 | CTR modes from <http://tools.ietf.org/html/rfc4344#section-4>: | |
| 4433 | RECOMMENDED AES (Rijndael) in SDCTR mode, with 128-bit key | |
| 4434 | RECOMMENDED AES with 192-bit key | |
| 4435 | RECOMMENDED AES with 256-bit key | |
| 4437 | from <https://git.io/fhxOl>: | |
| 4438 | one of the big benefits of chacha20-poly1305 is speed. the problem is... | |
| 4439 | libsodium doesn't generate the poly1305 keys in the way ssh does and openssl's PHP bindings don't even | |
| 4440 | seem to support poly1305 currently. so even if libsodium or openssl are being used for the chacha20 | |
| 4441 | part, pure-PHP has to be used for the poly1305 part and that's gonna cause a big slow down. | |
| 4442 | speed-wise it winds up being faster to use AES (when openssl or mcrypt are available) and some HMAC | |
| 4443 | (which is always gonna be super fast to compute thanks to the hash extension, which | |
| 4444 | "is bundled and compiled into PHP by default") | |
| 4447 | OPTIONAL Twofish in SDCTR mode, with 128-bit key | |
| 4448 | OPTIONAL Twofish with 192-bit key | |
| 4449 | OPTIONAL Twofish with 256-bit key | |
| 4451 | RECOMMENDED AES with a 128-bit key | |
| 4452 | OPTIONAL AES with a 192-bit key | |
| 4453 | OPTIONAL AES in CBC mode, with a 256-bit key | |
| 4455 | OPTIONAL Twofish with a 128-bit key | |
| 4456 | OPTIONAL Twofish with a 192-bit key | |
| 4458 | OPTIONAL alias for "twofish256-cbc" | |
| 4459 | (this is being retained for historical reasons) | |
| 4461 | OPTIONAL Blowfish in SDCTR mode | |
| 4463 | OPTIONAL Blowfish in CBC mode | |
| 4465 | RECOMMENDED Three-key 3DES in SDCTR mode | |
| 4467 | REQUIRED three-key 3DES in CBC mode | |
| 4469 | 'none' // OPTIONAL no encryption; NOT RECOMMENDED | |
| 4533 | from <http://www.ietf.org/rfc/rfc6668.txt>: | |
| 4534 | RECOMMENDED HMAC-SHA256 (digest length = key length = 32) | |
| 4535 | OPTIONAL HMAC-SHA512 (digest length = key length = 64) | |
| 4537 | from <https://tools.ietf.org/html/draft-miller-secsh-umac-01>: | |
| 4541 | RECOMMENDED first 96 bits of HMAC-SHA1 (digest length = 12, key length = 20) | |
| 4542 | REQUIRED HMAC-SHA1 (digest length = key length = 20) | |
| 4543 | OPTIONAL first 96 bits of HMAC-MD5 (digest length = 12, key length = 16) | |
| 4544 | OPTIONAL HMAC-MD5 (digest length = key length = 16) | |
| 4545 | 'none' // OPTIONAL no MAC; NOT RECOMMENDED | |
| 4558 | REQUIRED no compression | |
| 4559 | 'zlib' // OPTIONAL ZLIB (LZ77) compression | |
| 4566 | www.php.net/ssh2-methods-negotiated | |
| 4604 | www.php.net/manual/en/function.ssh2-connect.php> | |
| 4775 | case 'ssh-rsa': | |
| 4879 | tools.ietf.org/html/rfc3986#section-2 RFC}. | |
| 4933 | tools.ietf.org/html/rfc4252#section-5.1 |
Identity.php
| Type | Line | Description |
|---|---|---|
| 6 | api.libssh.org/rfc/PROTOCOL.agent} | |
| 14 | www.opensource.org/licenses/mit-license.html MIT License | |
| 15 | phpseclib.sourceforge.net | |
| 45 | Signature Flags | |
| 46 | See https://tools.ietf.org/html/draft-miller-ssh-agent-00#section-5.3 | |
| 198 | case 'secp521r1': | |
| 199 | case 'Ed25519': | |
| 284 | the last parameter (currently 0) is for flags and ssh-agent only defines one flag (for ssh-dss): SSH_AGENT_OLD_SIGNATURE |
Agent.php
| Type | Line | Description |
|---|---|---|
| 6 | api.libssh.org/rfc/PROTOCOL.agent} | |
| 31 | www.opensource.org/licenses/mit-license.html MIT License | |
| 32 | phpseclib.sourceforge.net | |
| 56 | Message numbers | |
| 58 | to request SSH1 keys you have to use SSH_AGENTC_REQUEST_RSA_IDENTITIES (1) | |
| 60 | this is the SSH2 response; the SSH1 response is SSH_AGENT_RSA_IDENTITIES_ANSWER (2). | |
| 62 | the SSH1 request is SSH_AGENTC_RSA_CHALLENGE (3) | |
| 64 | the SSH1 response is SSH_AGENT_RSA_RESPONSE (4) | |
| 67 | Agent forwarding status | |
| 69 | no forwarding requested and not active | |
| 71 | request agent forwarding when opportune | |
| 73 | forwarding has been request and is active | |
| 148 | ' . $address, 0, $errno, $errstr); | |
| 197 | resources are passed by reference by default |
ReadBytes.php
| Type | Line | Description |
|---|---|---|
| 12 | www.opensource.org/licenses/mit-license.html MIT License | |
| 13 | phpseclib.sourceforge.net |
MessageInterface.php
| Type | Line | Description |
|---|---|---|
| 14 | www.ietf.org/rfc/rfc7230.txt | |
| 15 | www.ietf.org/rfc/rfc7231.txt | |
| 49 | Represent the headers as a string | |
| 54 | Emit headers iteratively: |
RequestInterface.php
| Type | Line | Description |
|---|---|---|
| 56 | tools.ietf.org/html/rfc7230#section-5.3 (for the various | |
| 92 | tools.ietf.org/html/rfc3986#section-4.3 | |
| 123 | tools.ietf.org/html/rfc3986#section-4.3 |
ResponseInterface.php
| Type | Line | Description |
|---|---|---|
| 43 | tools.ietf.org/html/rfc7231#section-6 | |
| 44 | www.iana.org/assignments/http-status-codes/http-status-codes.xhtml | |
| 63 | tools.ietf.org/html/rfc7231#section-6 | |
| 64 | www.iana.org/assignments/http-status-codes/http-status-codes.xhtml |
StreamInterface.php
| Type | Line | Description |
|---|---|---|
| 25 | php.net/manual/en/language.oop5.magic.php#object.tostring | |
| 78 | www.php.net/manual/en/function.fseek.php | |
| 96 | www.php.net/manual/en/function.fseek.php | |
| 151 | php.net/manual/en/function.stream-get-meta-data.php |
UploadedFileInterface.php
| Type | Line | Description |
|---|---|---|
| 58 | php.net/is_uploaded_file | |
| 59 | php.net/move_uploaded_file | |
| 89 | php.net/manual/en/features.file-upload.errors.php |
UriInterface.php
| Type | Line | Description |
|---|---|---|
| 22 | tools.ietf.org/html/rfc3986 (the URI specification) | |
| 37 | tools.ietf.org/html/rfc3986#section-3.1 | |
| 57 | tools.ietf.org/html/rfc3986#section-3.2 | |
| 87 | tools.ietf.org/html/rfc3986#section-3.2.2 | |
| 130 | tools.ietf.org/html/rfc3986#section-2 | |
| 131 | tools.ietf.org/html/rfc3986#section-3.3 | |
| 152 | tools.ietf.org/html/rfc3986#section-2 | |
| 153 | tools.ietf.org/html/rfc3986#section-3.4 | |
| 170 | tools.ietf.org/html/rfc3986#section-2 | |
| 171 | tools.ietf.org/html/rfc3986#section-3.5 | |
| 308 | ". | |
| 319 | tools.ietf.org/html/rfc3986#section-4.1 |
LoggerInterface.php
| Type | Line | Description |
|---|---|---|
| 17 | github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md |
NullLogger.php
| Type | Line | Description |
|---|---|---|
| 28 | noop |
LoggerInterfaceTest.php
| Type | Line | Description |
|---|---|---|
| 105 | memory', 'r'); | |
| 116 | memory', 'r'), |
BinaryUtils.php
| Type | Line | Description |
|---|---|---|
| 15 | tools.ietf.org/html/rfc4122#section-4.1.1 | |
| 19 | Set the variant to RFC 4122 | |
| 32 | tools.ietf.org/html/rfc4122#section-4.1.3 |
DefaultUuidBuilder.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | benramsey.com/projects/ramsey-uuid/ Documentation | |
| 11 | packagist.org/packages/ramsey/uuid Packagist | |
| 12 | github.com/ramsey/uuid GitHub |
DegradedUuidBuilder.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | benramsey.com/projects/ramsey-uuid/ Documentation | |
| 11 | packagist.org/packages/ramsey/uuid Packagist | |
| 12 | github.com/ramsey/uuid GitHub |
UuidBuilderInterface.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | benramsey.com/projects/ramsey-uuid/ Documentation | |
| 11 | packagist.org/packages/ramsey/uuid Packagist | |
| 12 | github.com/ramsey/uuid GitHub |
CodecInterface.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | benramsey.com/projects/ramsey-uuid/ Documentation | |
| 11 | packagist.org/packages/ramsey/uuid Packagist | |
| 12 | github.com/ramsey/uuid GitHub |
GuidStringCodec.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | benramsey.com/projects/ramsey-uuid/ Documentation | |
| 11 | packagist.org/packages/ramsey/uuid Packagist | |
| 12 | github.com/ramsey/uuid GitHub | |
| 23 | en.wikipedia.org/wiki/Globally_unique_identifier | |
| 37 | Swap byte-order on the first three fields | |
| 84 | Specifically call parent::decode to preserve correct byte order |
OrderedTimeCodec.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | benramsey.com/projects/ramsey-uuid/ Documentation | |
| 11 | packagist.org/packages/ramsey/uuid Packagist | |
| 12 | github.com/ramsey/uuid GitHub | |
| 63 | Rearrange the fields to their original order |
StringCodec.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | benramsey.com/projects/ramsey-uuid/ Documentation | |
| 11 | packagist.org/packages/ramsey/uuid Packagist | |
| 12 | github.com/ramsey/uuid GitHub | |
| 26 | tools.ietf.org/html/rfc4122 | |
| 132 | We have stripped out the dashes and are breaking up the string using | |
| 133 | substr(). In this way, we can accept a full hex value that doesn't | |
| 134 | contain dashes. |
TimestampFirstCombCodec.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | benramsey.com/projects/ramsey-uuid/ Documentation | |
| 11 | packagist.org/packages/ramsey/uuid Packagist | |
| 12 | github.com/ramsey/uuid GitHub |
TimestampLastCombCodec.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | benramsey.com/projects/ramsey-uuid/ Documentation | |
| 11 | packagist.org/packages/ramsey/uuid Packagist | |
| 12 | github.com/ramsey/uuid GitHub |
BigNumberConverter.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | benramsey.com/projects/ramsey-uuid/ Documentation | |
| 11 | packagist.org/packages/ramsey/uuid Packagist | |
| 12 | github.com/ramsey/uuid GitHub |
DegradedNumberConverter.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | benramsey.com/projects/ramsey-uuid/ Documentation | |
| 11 | packagist.org/packages/ramsey/uuid Packagist | |
| 12 | github.com/ramsey/uuid GitHub |
NumberConverterInterface.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | benramsey.com/projects/ramsey-uuid/ Documentation | |
| 11 | packagist.org/packages/ramsey/uuid Packagist | |
| 12 | github.com/ramsey/uuid GitHub |
BigNumberTimeConverter.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | benramsey.com/projects/ramsey-uuid/ Documentation | |
| 11 | packagist.org/packages/ramsey/uuid Packagist | |
| 12 | github.com/ramsey/uuid GitHub | |
| 34 | tools.ietf.org/html/rfc4122#section-4.2.2 |
DegradedTimeConverter.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | benramsey.com/projects/ramsey-uuid/ Documentation | |
| 11 | packagist.org/packages/ramsey/uuid Packagist | |
| 12 | github.com/ramsey/uuid GitHub |
PhpTimeConverter.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | benramsey.com/projects/ramsey-uuid/ Documentation | |
| 11 | packagist.org/packages/ramsey/uuid Packagist | |
| 12 | github.com/ramsey/uuid GitHub | |
| 33 | tools.ietf.org/html/rfc4122#section-4.2.2 | |
| 37 | 0x01b21dd213814000 is the number of 100-ns intervals between the | |
| 38 | UUID epoch 1582-10-15 00:00:00 and the Unix epoch 1970-01-01 00:00:00. |
TimeConverterInterface.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | benramsey.com/projects/ramsey-uuid/ Documentation | |
| 11 | packagist.org/packages/ramsey/uuid Packagist | |
| 12 | github.com/ramsey/uuid GitHub | |
| 34 | tools.ietf.org/html/rfc4122#section-4.2.2 |
DegradedUuid.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | benramsey.com/projects/ramsey-uuid/ Documentation | |
| 11 | packagist.org/packages/ramsey/uuid Packagist | |
| 12 | github.com/ramsey/uuid GitHub |
InvalidUuidStringException.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | benramsey.com/projects/ramsey-uuid/ Documentation | |
| 11 | packagist.org/packages/ramsey/uuid Packagist | |
| 12 | github.com/ramsey/uuid GitHub |
UnsatisfiedDependencyException.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | benramsey.com/projects/ramsey-uuid/ Documentation | |
| 11 | packagist.org/packages/ramsey/uuid Packagist | |
| 12 | github.com/ramsey/uuid GitHub |
UnsupportedOperationException.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | benramsey.com/projects/ramsey-uuid/ Documentation | |
| 11 | packagist.org/packages/ramsey/uuid Packagist | |
| 12 | github.com/ramsey/uuid GitHub |
FeatureSet.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | benramsey.com/projects/ramsey-uuid/ Documentation | |
| 11 | packagist.org/packages/ramsey/uuid Packagist | |
| 12 | github.com/ramsey/uuid GitHub |
functions.php
| Type | Line | Description |
|---|---|---|
| 10 | opensource.org/licenses/MIT MIT |
CombGenerator.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | benramsey.com/projects/ramsey-uuid/ Documentation | |
| 11 | packagist.org/packages/ramsey/uuid Packagist | |
| 12 | github.com/ramsey/uuid GitHub | |
| 26 | en.wikipedia.org/wiki/Globally_unique_identifier#Sequential_algorithms |
DefaultTimeGenerator.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | benramsey.com/projects/ramsey-uuid/ Documentation | |
| 11 | packagist.org/packages/ramsey/uuid Packagist | |
| 12 | github.com/ramsey/uuid GitHub | |
| 88 | Not using "stable storage"; see RFC 4122, Section 4.2.1.1 | |
| 92 | Create a 60-bit time value as a count of 100-nanosecond intervals | |
| 93 | since 00:00:00.00, 15 October 1582 | |
| 130 | Convert the node to hex, if it is still an integer |
MtRandGenerator.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | benramsey.com/projects/ramsey-uuid/ Documentation | |
| 11 | packagist.org/packages/ramsey/uuid Packagist | |
| 12 | github.com/ramsey/uuid GitHub | |
| 25 | php.net/mt_rand |
OpenSslGenerator.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | benramsey.com/projects/ramsey-uuid/ Documentation | |
| 11 | packagist.org/packages/ramsey/uuid Packagist | |
| 12 | github.com/ramsey/uuid GitHub | |
| 29 | php.net/openssl_random_pseudo_bytes |
PeclUuidRandomGenerator.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | benramsey.com/projects/ramsey-uuid/ Documentation | |
| 11 | packagist.org/packages/ramsey/uuid Packagist | |
| 12 | github.com/ramsey/uuid GitHub | |
| 21 | pecl.php.net/package/uuid |
PeclUuidTimeGenerator.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | benramsey.com/projects/ramsey-uuid/ Documentation | |
| 11 | packagist.org/packages/ramsey/uuid Packagist | |
| 12 | github.com/ramsey/uuid GitHub | |
| 21 | pecl.php.net/package/uuid |
RandomBytesGenerator.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | benramsey.com/projects/ramsey-uuid/ Documentation | |
| 11 | packagist.org/packages/ramsey/uuid Packagist | |
| 12 | github.com/ramsey/uuid GitHub | |
| 23 | php.net/random_bytes | |
| 24 | github.com/paragonie/random_compat |
RandomGeneratorFactory.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | benramsey.com/projects/ramsey-uuid/ Documentation | |
| 11 | packagist.org/packages/ramsey/uuid Packagist | |
| 12 | github.com/ramsey/uuid GitHub |
RandomGeneratorInterface.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | benramsey.com/projects/ramsey-uuid/ Documentation | |
| 11 | packagist.org/packages/ramsey/uuid Packagist | |
| 12 | github.com/ramsey/uuid GitHub |
RandomLibAdapter.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | benramsey.com/projects/ramsey-uuid/ Documentation | |
| 11 | packagist.org/packages/ramsey/uuid Packagist | |
| 12 | github.com/ramsey/uuid GitHub | |
| 24 | packagist.org/packages/paragonie/random-lib |
SodiumRandomGenerator.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | benramsey.com/projects/ramsey-uuid/ Documentation | |
| 11 | packagist.org/packages/ramsey/uuid Packagist | |
| 12 | github.com/ramsey/uuid GitHub | |
| 26 | pecl.php.net/package/libsodium | |
| 27 | paragonie.com/book/pecl-libsodium |
TimeGeneratorFactory.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | benramsey.com/projects/ramsey-uuid/ Documentation | |
| 11 | packagist.org/packages/ramsey/uuid Packagist | |
| 12 | github.com/ramsey/uuid GitHub |
TimeGeneratorInterface.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | benramsey.com/projects/ramsey-uuid/ Documentation | |
| 11 | packagist.org/packages/ramsey/uuid Packagist | |
| 12 | github.com/ramsey/uuid GitHub |
FallbackNodeProvider.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | benramsey.com/projects/ramsey-uuid/ Documentation | |
| 11 | packagist.org/packages/ramsey/uuid Packagist | |
| 12 | github.com/ramsey/uuid GitHub |
RandomNodeProvider.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | benramsey.com/projects/ramsey-uuid/ Documentation | |
| 11 | packagist.org/packages/ramsey/uuid Packagist | |
| 12 | github.com/ramsey/uuid GitHub | |
| 24 | tools.ietf.org/html/rfc4122#section-4.5 | |
| 38 | Split the node bytes for math on 32-bit systems. | |
| 42 | Set the multicast bit; see RFC 4122, section 4.5. | |
| 52 | Recombine the node bytes. |
SystemNodeProvider.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | benramsey.com/projects/ramsey-uuid/ Documentation | |
| 11 | packagist.org/packages/ramsey/uuid Packagist | |
| 12 | github.com/ramsey/uuid GitHub | |
| 41 | first try a linux specific way | |
| 44 | Search the ifconfig output for all MAC addresses and return | |
| 45 | the first one found | |
| 114 | remove invalid entries | |
| 117 | localhost adapter | |
| 119 | must match mac adress |
NodeProviderInterface.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | benramsey.com/projects/ramsey-uuid/ Documentation | |
| 11 | packagist.org/packages/ramsey/uuid Packagist | |
| 12 | github.com/ramsey/uuid GitHub |
FixedTimeProvider.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | benramsey.com/projects/ramsey-uuid/ Documentation | |
| 11 | packagist.org/packages/ramsey/uuid Packagist | |
| 12 | github.com/ramsey/uuid GitHub |
SystemTimeProvider.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | benramsey.com/projects/ramsey-uuid/ Documentation | |
| 11 | packagist.org/packages/ramsey/uuid Packagist | |
| 12 | github.com/ramsey/uuid GitHub |
TimeProviderInterface.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | benramsey.com/projects/ramsey-uuid/ Documentation | |
| 11 | packagist.org/packages/ramsey/uuid Packagist | |
| 12 | github.com/ramsey/uuid GitHub |
Uuid.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | benramsey.com/projects/ramsey-uuid/ Documentation | |
| 11 | packagist.org/packages/ramsey/uuid Packagist | |
| 12 | github.com/ramsey/uuid GitHub | |
| 37 | tools.ietf.org/html/rfc4122 | |
| 38 | en.wikipedia.org/wiki/Universally_unique_identifier | |
| 39 | docs.python.org/3/library/uuid.html | |
| 40 | docs.oracle.com/javase/6/docs/api/java/util/UUID.html | |
| 46 | tools.ietf.org/html/rfc4122#appendix-C | |
| 52 | tools.ietf.org/html/rfc4122#appendix-C | |
| 58 | tools.ietf.org/html/rfc4122#appendix-C | |
| 64 | tools.ietf.org/html/rfc4122#appendix-C | |
| 70 | tools.ietf.org/html/rfc4122#section-4.1.7 | |
| 76 | tools.ietf.org/html/rfc4122#section-4.1.1 | |
| 82 | tools.ietf.org/html/rfc4122#section-4.1.1 | |
| 88 | tools.ietf.org/html/rfc4122#section-4.1.1 | |
| 94 | tools.ietf.org/html/rfc4122#section-4.1.1 | |
| 174 | php.net/'); | |
| 176 | php.net/'); | |
| 201 | www.php.net/manual/en/language.oop5.magic.php#object.tostring | |
| 213 | php.net/manual/en/class.jsonserializable.php | |
| 225 | php.net/manual/en/class.serializable.php | |
| 236 | php.net/manual/en/class.serializable.php | |
| 327 | tools.ietf.org/html/rfc4122#section-4.1.5 | |
| 375 | tools.ietf.org/html/rfc4122#section-4.1.2 | |
| 471 | tools.ietf.org/html/rfc4122#section-4.1.6 | |
| 543 | tools.ietf.org/html/rfc4122#section-4.1.4 |
UuidFactory.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | benramsey.com/projects/ramsey-uuid/ Documentation | |
| 11 | packagist.org/packages/ramsey/uuid Packagist | |
| 12 | github.com/ramsey/uuid GitHub | |
| 238 | When converting the bytes to hex, it turns into a 32-character | |
| 239 | hexadecimal string that looks a lot like an MD5 hash, so at this | |
| 240 | point, we can just pass it to uuidFromHashedName. |
UuidFactoryInterface.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | benramsey.com/projects/ramsey-uuid/ Documentation | |
| 11 | packagist.org/packages/ramsey/uuid Packagist | |
| 12 | github.com/ramsey/uuid GitHub |
UuidInterface.php
| Type | Line | Description |
|---|---|---|
| 9 | opensource.org/licenses/MIT MIT | |
| 10 | benramsey.com/projects/ramsey-uuid/ Documentation | |
| 11 | packagist.org/packages/ramsey/uuid Packagist | |
| 12 | github.com/ramsey/uuid GitHub | |
| 180 | tools.ietf.org/html/rfc4122#section-4.1.6 | |
| 220 | tools.ietf.org/html/rfc4122#section-4.1.4 | |
| 228 | en.wikipedia.org/wiki/Uniform_Resource_Name | |
| 244 | tools.ietf.org/html/rfc4122#section-4.1.1 | |
| 264 | tools.ietf.org/html/rfc4122#section-4.1.3 |
Abstraction.php
| Type | Line | Description |
|---|---|---|
| 45 | match literal string from start to end | |
| 51 | when there's no match, just return null if strict mode is given |
Expression.php
| Type | Line | Description |
|---|---|---|
| 79 | check for variable modifiers | |
| 84 | skip null value | |
| 106 | check expression operator first | |
| 111 | remove operator from input | |
| 121 | do a forward lookup and get just the relevant part | |
| 132 | remove matched part from input | |
| 137 | if strict is given, we quit immediately when there's no match |
Variable.php
| Type | Line | Description |
|---|---|---|
| 25 | normalize var name e.g. from 'term:1' becomes 'term' |
Abstraction.php
| Type | Line | Description |
|---|---|---|
| 186 | skip null | |
| 193 | This algorithm is based on RFC6570 http://tools.ietf.org/html/rfc6570 | |
| 194 | non-array, e.g. string | |
| 199 | non-explode ':' | |
| 204 | explode '*', '%' | |
| 275 | non-explode modifier always use ',' as a separator | |
| 284 | assoc? encode key too | |
| 289 | rawurlencode is compliant with 'unreserved' set | |
| 294 | decode chars in reserved set |
Named.php
| Type | Line | Description |
|---|---|---|
| 27 | 2 | 4 | |
| 36 | 5 | |
| 46 | 1, 3 | |
| 59 | handle empty value | |
| 102 | RFC6570 doesn't specify how to handle empty list/assoc array | |
| 103 | for explode modifier | |
| 112 | if value is a list, use `varname` as keyname, otherwise use `key` name | |
| 123 | if it's array modifier, we have to use variable name as index | |
| 124 | e.g. if variable name is 'query' and value is ['limit' => 1] | |
| 125 | then we convert it to ['query' => ['limit' => 1]] | |
| 135 | get rid of optional `&` at the beginning | |
| 156 | 2 | |
| 161 | 4 | |
| 171 | 1, 3 | |
| 172 | remove key from value e.g. 'lang=en,th' becomes 'en,th' | |
| 186 | http_build_query uses PHP_QUERY_RFC1738 encoding by default | |
| 187 | i.e. spaces are encoded as '+' (plus signs) we need to convert | |
| 188 | it to %20 RFC3986 | |
| 192 | `%` array modifier | |
| 195 | it also uses numeric based-index by default e.g. list[] becomes list[0] | |
| 199 | `:`, `*` modifiers | |
| 202 | by default, http_build_query will convert array values to `a[]=1&a[]=2` | |
| 203 | which is different from the spec. It should be `a=1&a=2` | |
| 207 | handle reserved charset |
UnNamed.php
| Type | Line | Description |
|---|---|---|
| 25 | 2 | 4 | |
| 39 | 1, 3 |
Parser.php
| Type | Line | Description |
|---|---|---|
| 28 | if current node has dot separator that requires a forward lookup | |
| 29 | for the previous node iff previous node's operator is UnNamed | |
| 51 | literal string | |
| 55 | remove `{}` from expression and parse it | |
| 67 | not a valid operator? | |
| 70 | not valid chars? | |
| 75 | default operator | |
| 79 | remove operator prefix if exists e.g. '?' | |
| 84 | parse variables | |
| 103 | check for prefix (:) / explode (*) / array (%) modifier | |
| 108 | error checking | |
| 118 | there can be only 1 modifier per var |
UriTemplate.php
| Type | Line | Description |
|---|---|---|
| 40 | quick check | |
| 70 | if strict is given, and there's no remaining uri just return null | |
| 75 | uri'll be truncated from the start when a match is found | |
| 81 | if there's remaining $uri, matching is failed |
CliPrompt.php
| Type | Line | Description |
|---|---|---|
| 23 | stdin', 'r'); | |
| 44 | handle windows | |
| 46 | fallback to hiddeninput executable | |
| 49 | handle code running from a phar | |
| 53 | use stream_copy_to_stream instead of copy | |
| 54 | to work around https://bugs.php.net/bug.php?id=64634 | |
| 73 | clean up | |
| 79 | output a newline to be on par with the regular prompt() | |
| 87 | handle other OSs with bash/zsh/ksh/csh if available to hide the answer | |
| 103 | output a newline to be on par with the regular prompt() | |
| 111 | not able to hide the answer |
Lock.php
| Type | Line | Description |
|---|---|---|
| 102 | swallow exception to not hide the original issue | |
| 144 | swallow exception to not hide the original issue |
CombinedStore.php
| Type | Line | Description |
|---|---|---|
| 89 | clean up potential locks | |
| 144 | clean up potential locks |
ExpiringStoreTrait.php
| Type | Line | Description |
|---|---|---|
| 25 | swallow exception to not hide the original issue |
FlockStore.php
| Type | Line | Description |
|---|---|---|
| 70 | The lock is maybe already acquired. | |
| 81 | Silence error reporting | |
| 87 | Give some time for chmod() to complete | |
| 97 | On Windows, even if PHP doc says the contrary, LOCK_NB works, see | |
| 98 | https://bugs.php.net/54129 | |
| 112 | do nothing, the flock locks forever. | |
| 120 | The lock is maybe not acquired. |
MemcachedStore.php
| Type | Line | Description |
|---|---|---|
| 65 | the lock is already acquired. It could be us. Let's try to put off. | |
| 92 | Interface defines a float value but Store required an integer. | |
| 100 | Could happens when we ask a putOff after a timeout but in luck nobody steal the lock | |
| 106 | no luck, with concurrency, someone else acquire the lock | |
| 110 | Someone else steal the lock | |
| 132 | we are not the owner of the lock. Nothing to do. | |
| 136 | To avoid concurrency in deletion, the trick is to extends the TTL then deleting the key | |
| 138 | Someone steal our lock. It does not belongs to us anymore. Nothing to do. | |
| 142 | Now, we are the owner of the lock for 2 more seconds, we can delete it. |
PdoStore.php
| Type | Line | Description |
|---|---|---|
| 131 | the lock is already acquired. It could be us. Let's try to put off. | |
| 134 | the lock is already acquired. It could be us. Let's try to put off. | |
| 174 | If this method is called twice in the same second, the row wouldn't be updated. We have to call exists to know if we are the owner | |
| 234 | ')) { | |
| 258 | connect if we are not yet |
SemaphoreStore.php
| Type | Line | Description |
|---|---|---|
| 87 | The lock is maybe not acquired. | |
| 104 | do nothing, the semaphore locks forever. |
StoreFactory.php
| Type | Line | Description |
|---|---|---|
| 63 | '): | |
| 80 | '): | |
| 82 | '): | |
| 84 | '): | |
| 85 | '): | |
| 87 | '): | |
| 88 | '): | |
| 91 | '): | |
| 94 | '): |
ZookeeperStore.php
| Type | Line | Description |
|---|---|---|
| 85 | For Zookeeper Ephemeral Nodes, the node will be deleted upon session death. But, if we want to unlock | |
| 86 | the lock before proceeding further in the session, the client should be aware of this | |
| 120 | do nothing, zookeeper locks forever. | |
| 134 | Default Node Permissions | |
| 136 | This ensures that the nodes are deleted when the client session to zookeeper server ends. | |
| 152 | Since we do not support storing locks as multi-level nodes, we convert them to be stored at root level. | |
| 153 | For example: foo/bar will become /foo-bar and /foo/bar will become /-foo-bar |
Ctype.php
| Type | Line | Description |
|---|---|---|
| 26 | php.net/ctype-alnum | |
| 42 | php.net/ctype-alpha | |
| 58 | php.net/ctype-cntrl | |
| 74 | php.net/ctype-digit | |
| 90 | php.net/ctype-graph | |
| 106 | php.net/ctype-lower | |
| 122 | php.net/ctype-print | |
| 138 | php.net/ctype-punct | |
| 154 | php.net/ctype-space | |
| 170 | php.net/ctype-upper | |
| 186 | php.net/ctype-xdigit |
Idn.php
| Type | Line | Description |
|---|---|---|
| 20 | www.unicode.org/reports/tr46/ | |
| 139 | www.unicode.org/reports/tr46/#ToASCII | |
| 166 | Only convert labels to punycode that contain non-ASCII code points | |
| 192 | www.unicode.org/reports/tr46/#ToUnicode | |
| 246 | If Canonical_Combining_Class(Before(cp)) .eq. Virama Then True; | |
| 251 | If RegExpMatch((Joining_Type:{L,D})(Joining_Type:T)*\u200C(Joining_Type:T)*(Joining_Type:{R,D})) Then | |
| 252 | True; | |
| 253 | Generated RegExp = ([Joining_Type:{L,D}][Joining_Type:T]*\u200C[Joining_Type:T]*)[Joining_Type:{R,D}] | |
| 267 | www.unicode.org/reports/tr46/#ProcessingStepMap | |
| 287 | no break. | |
| 295 | Do nothing. | |
| 315 | www.unicode.org/reports/tr46/#Processing | |
| 324 | If VerifyDnsLength is not set, we are doing ToUnicode otherwise we are doing ToASCII and | |
| 325 | we need to respect the VerifyDnsLength option. | |
| 334 | Step 1. Map each code point in the domain name string | |
| 337 | Step 2. Normalize the domain name string to Unicode Normalization Form C. | |
| 342 | Step 3. Break the string into labels at U+002E (.) FULL STOP. | |
| 346 | Step 4. Convert and validate each label in the domain name string. | |
| 370 | Any input domain name string that does not record an error has been successfully | |
| 371 | processed according to this specification. Conversely, if an input domain_name string | |
| 372 | causes an error, then the processing of the input domain_name string fails. Determining | |
| 373 | what to do with error input is up to the caller, and not in the scope of this document. | |
| 378 | tools.ietf.org/html/rfc5893#section-2 | |
| 387 | Step 1. The first character must be a character with Bidi property L, R, or AL. | |
| 388 | If it has the R or AL property, it is an RTL label | |
| 395 | Step 2. In an RTL label, only characters with the Bidi properties R, AL, AN, EN, ES, | |
| 396 | CS, ET, ON, BN, or NSM are allowed. | |
| 403 | Step 3. In an RTL label, the end of the label must be a character with Bidi property | |
| 404 | R, AL, EN, or AN, followed by zero or more characters with Bidi property NSM. | |
| 411 | Step 4. In an RTL label, if an EN is present, no AN may be present, and vice versa. | |
| 421 | We are a LTR label | |
| 422 | Step 1. The first character must be a character with Bidi property L, R, or AL. | |
| 423 | If it has the L property, it is an LTR label. | |
| 430 | Step 5. In an LTR label, only characters with the Bidi properties L, EN, | |
| 431 | ES, CS, ET, ON, BN, or NSM are allowed. | |
| 438 | Step 6.In an LTR label, the end of the label must be a character with Bidi property L or | |
| 439 | EN, followed by zero or more characters with Bidi property NSM. | |
| 455 | Number of "." delimiters. | |
| 458 | If the last label is empty and it is not the first label, then it is the root label. | |
| 459 | Increase the max size by 1, making it 254, to account for the root label's "." | |
| 460 | delimiter. This also means we don't need to check the last label's length for being too | |
| 461 | long. | |
| 482 | www.unicode.org/reports/tr46/#Validity_Criteria | |
| 498 | Step 1. The label must be in Unicode Normalization Form C. | |
| 506 | Step 2. If CheckHyphens, the label must not contain a U+002D HYPHEN-MINUS character | |
| 507 | in both the thrid and fourth positions. | |
| 512 | Step 3. If CheckHyphens, the label must neither begin nor end with a U+002D | |
| 513 | HYPHEN-MINUS character. | |
| 523 | Step 4. The label must not contain a U+002E (.) FULL STOP. | |
| 528 | Step 5. The label must not begin with a combining mark, that is: General_Category=Mark. | |
| 533 | Step 6. Each code point in the label must only have certain status values according to | |
| 534 | Section 5, IDNA Mapping Table: | |
| 551 | Step 7. If CheckJoiners, the label must satisify the ContextJ rules from Appendix A, in | |
| 552 | The Unicode Code Points and Internationalized Domain Names for Applications (IDNA) | |
| 553 | [IDNA2008]. | |
| 558 | Step 8. If CheckBidi, and if the domain name is a Bidi domain name, then the label must | |
| 559 | satisfy all six of the numbered conditions in [IDNA2008] RFC 5893, Section 2. | |
| 566 | tools.ietf.org/html/rfc3492#section-6.2 | |
| 654 | tools.ietf.org/html/rfc3492#section-6.3 | |
| 747 | tools.ietf.org/html/rfc3492#section-6.1 | |
| 757 | xxx >> 1 is a faster way of doing intdiv(xxx, 2) | |
| 785 | encoding.spec.whatwg.org/#utf-8-decoder | |
| 865 | String unexpectedly ended, so append a U+FFFD code point. |
Normalizer.php
| Type | Line | Description |
|---|---|---|
| 18 | www.unicode.org/reports/tr15/ for detailed info about Unicode normalizations. | |
| 50 | u', $s) && !preg_match('/[^\x00-\x{2FF}]/u', $s)) { | |
| 59 | u', $s)) { | |
| 130 | ASCII chars | |
| 155 | Table lookup and combining chars composition | |
| 173 | Hangul chars | |
| 215 | ASCII chars | |
| 234 | Table lookup | |
| 243 | Put trailing chars in $s | |
| 262 | Combining chars, for sorting | |
| 271 | Hangul chars |
Mbstring.php
| Type | Line | Description |
|---|---|---|
| 104 | IGNORE', $s); | |
| 115 | IGNORE', $s); | |
| 155 | Instead of null (cf. mb_encode_numericentity). | |
| 167 | u', $s)) { | |
| 168 | IGNORE', $s); | |
| 171 | IGNORE', $s); | |
| 177 | collector_decode_htmlnumericentity ignores $convmap[$i + 3] | |
| 197 | IGNORE', $s); | |
| 215 | Instead of '' (cf. mb_decode_numericentity). | |
| 233 | u', $s)) { | |
| 234 | IGNORE', $s); | |
| 237 | IGNORE', $s); | |
| 267 | IGNORE', $result); | |
| 281 | u', $s)) { | |
| 282 | IGNORE', $s); | |
| 285 | IGNORE', $s); | |
| 345 | IGNORE', $s); | |
| 439 | u', $str)) { | |
| 471 | no break | |
| 735 | IGNORE', $s); |
titleCaseRegexp.php
| Type | Line | Description |
|---|---|---|
| 3 | from Case_Ignorable in https://unicode.org/Public/UNIDATA/DerivedCoreProperties.txt |
Php72.php
| Type | Line | Description |
|---|---|---|
| 55 | no break | |
| 98 | On 32-bit systems, PHP_INT_SIZE is 4, | |
| 118 | We cannot actually disable vt100 support if it is set | |
| 123 | The native function does not apply to stdin | |
| 125 | stdin' === $meta['uri'] || 'php://fd/0' === $meta['uri']; | |
| 144 | Check if formatted mode is S_IFCHR | |
| 156 | check if we are nested in an output buffering handler to prevent a fatal error with ob_start() below |
AnalyticsEvent.php
| Type | Line | Description |
|---|---|---|
| 28 | there4development.com/)'; | |
| 43 | code.google.com/intl/de-DE/apis/analytics/docs/tracking/ + | |
| 48 | www.google-analytics.com/__utm.gif'; | |
| 71 | code.google.com/apis/analytics/docs/tracking/ + | |
| 90 | random request number | |
| 91 | random cookie number | |
| 92 | number under 2147483647 | |
| 93 | today | |
| 94 | referer url | |
| 99 | Tracking code version | |
| 100 | Prevent caching random number | |
| 101 | Screen resolution | |
| 102 | Screen color depth | |
| 103 | Browser language | |
| 104 | Is browser Java-enabled | |
| 105 | Flash Version | |
| 106 | Page title, url encoded | |
| 107 | Host Name | |
| 108 | page | |
| 109 | Referral, complete url | |
| 110 | Account code | |
| 111 | Type of request | |
| 112 | utme is an extensible parameter, used for the event data here | |
| 121 | Cookie values are in this utmcc | |
| 152 | ' . $_SERVER['SERVER_NAME']; |
ajax-fetch.php
| Type | Line | Description |
|---|---|---|
| 9 | session is required for this functionality | |
| 12 | For security reasons, Tracy is visible only on localhost. | |
| 13 | You may force Tracy to run in development mode by passing the Debugger::DEVELOPMENT instead of Debugger::DETECT. | |
| 17 | AJAX request | |
| 47 | default settings: | |
| 48 | window.TracyAutoRefresh = true; | |
| 49 | window.TracyMaxAjaxRows = 3; | |
| 64 | 'X-Tracy-Ajax': Tracy.getAjaxHeader()}, // use when auto-refresh is disabled via window.TracyAutoRefresh = false; |
ajax-jquery.php
| Type | Line | Description |
|---|---|---|
| 9 | session is required for this functionality | |
| 12 | For security reasons, Tracy is visible only on localhost. | |
| 13 | You may force Tracy to run in development mode by passing the Debugger::DEVELOPMENT instead of Debugger::DETECT. | |
| 17 | AJAX request | |
| 45 | code.jquery.com/jquery-3.3.1.min.js"></script> | |
| 48 | default settings: | |
| 49 | window.TracyAutoRefresh = true; | |
| 50 | window.TracyMaxAjaxRows = 3; | |
| 65 | headers: {'X-Tracy-Ajax': Tracy.getAjaxHeader()}, // use when auto-refresh is disabled via window.TracyAutoRefresh = false; |
barDump.php
| Type | Line | Description |
|---|---|---|
| 9 | For security reasons, Tracy is visible only on localhost. | |
| 10 | You may force Tracy to run in development mode by passing the Debugger::DEVELOPMENT instead of Debugger::DETECT. |
dump-snapshot.php
| Type | Line | Description |
|---|---|---|
| 10 | For security reasons, Tracy is visible only on localhost. | |
| 11 | You may force Tracy to run in development mode by passing the Debugger::DEVELOPMENT instead of Debugger::DETECT. | |
| 40 | changed array is detected | |
| 45 | changed object is not detected, because is part of snapshot | |
| 50 | prints snapshot |
dump.php
| Type | Line | Description |
|---|---|---|
| 9 | For security reasons, Tracy is visible only on localhost. | |
| 10 | You may force Tracy to run in development mode by passing the Debugger::DEVELOPMENT instead of Debugger::DETECT. | |
| 68 | affected by Tracy\Debugger::$maxLength |
exception.php
| Type | Line | Description |
|---|---|---|
| 9 | For security reasons, Tracy is visible only on localhost. | |
| 10 | You may force Tracy to run in development mode by passing the Debugger::DEVELOPMENT instead of Debugger::DETECT. |
fatal-error.php
| Type | Line | Description |
|---|---|---|
| 9 | For security reasons, Tracy is visible only on localhost. | |
| 10 | You may force Tracy to run in development mode by passing the Debugger::DEVELOPMENT instead of Debugger::DETECT. |
firelogger.php
| Type | Line | Description |
|---|---|---|
| 11 | will show in FireLogger | |
| 45 | tracy.nette.org/#toc-firelogger">enable FireLogger</a>?</p> |
notice.php
| Type | Line | Description |
|---|---|---|
| 9 | For security reasons, Tracy is visible only on localhost. | |
| 10 | You may force Tracy to run in development mode by passing the Debugger::DEVELOPMENT instead of Debugger::DETECT. |
preloading.php
| Type | Line | Description |
|---|---|---|
| 9 | session is required for this functionality | |
| 12 | For security reasons, Tracy is visible only on localhost. | |
| 13 | You may force Tracy to run in development mode by passing the Debugger::DEVELOPMENT instead of Debugger::DETECT. |
redirect.php
| Type | Line | Description |
|---|---|---|
| 9 | session is required for this functionality | |
| 12 | For security reasons, Tracy is visible only on localhost. | |
| 13 | You may force Tracy to run in development mode by passing the Debugger::DEVELOPMENT instead of Debugger::DETECT. |
warning.php
| Type | Line | Description |
|---|---|---|
| 9 | For security reasons, Tracy is visible only on localhost. | |
| 10 | You may force Tracy to run in development mode by passing the Debugger::DEVELOPMENT instead of Debugger::DETECT. |
Bridge.php
| Type | Line | Description |
|---|---|---|
| 4 | tracy.nette.org) | |
| 5 | davidgrudl.com) | |
| 42 | @ - may trigger error | |
| 53 | source: (\S+\.latte)#', $lines[1], $m) && @is_file($m[1])) { // @ - may trigger error | |
| 74 | @ - may trigger error |
MailSender.php
| Type | Line | Description |
|---|---|---|
| 4 | tracy.nette.org) | |
| 5 | davidgrudl.com) |
TracyExtension.php
| Type | Line | Description |
|---|---|---|
| 4 | tracy.nette.org) | |
| 5 | davidgrudl.com) |
PsrToTracyLoggerAdapter.php
| Type | Line | Description |
|---|---|---|
| 4 | tracy.nette.org) | |
| 5 | davidgrudl.com) |
TracyToPsrLoggerAdapter.php
| Type | Line | Description |
|---|---|---|
| 4 | tracy.nette.org) | |
| 5 | davidgrudl.com) |
bar.phtml
| Type | Line | Description |
|---|---|---|
| 6 | tracy.nette.org) | |
| 7 | davidgrudl.com) | |
| 21 | tracy.nette.org" ?>"> |
loader.phtml
| Type | Line | Description |
|---|---|---|
| 6 | fontawesome.io | |
| 8 | tracy.nette.org) | |
| 9 | davidgrudl.com) |
panels.phtml
| Type | Line | Description |
|---|---|---|
| 6 | tracy.nette.org) | |
| 7 | davidgrudl.com) |
Bar.php
| Type | Line | Description |
|---|---|---|
| 4 | tracy.nette.org) | |
| 5 | davidgrudl.com) | |
| 92 | redirect | |
| 153 | restore ob-level if broken | |
| 188 | session must be already locked |
DefaultBarPanel.php
| Type | Line | Description |
|---|---|---|
| 4 | tracy.nette.org) | |
| 5 | davidgrudl.com) |
IBarPanel.php
| Type | Line | Description |
|---|---|---|
| 4 | tracy.nette.org) | |
| 5 | davidgrudl.com) |
dumps.panel.phtml
| Type | Line | Description |
|---|---|---|
| 6 | tracy.nette.org) | |
| 7 | davidgrudl.com) |
dumps.tab.phtml
| Type | Line | Description |
|---|---|---|
| 6 | tracy.nette.org) | |
| 7 | davidgrudl.com) |
errors.panel.phtml
| Type | Line | Description |
|---|---|---|
| 6 | tracy.nette.org) | |
| 7 | davidgrudl.com) |
errors.tab.phtml
| Type | Line | Description |
|---|---|---|
| 6 | tracy.nette.org) | |
| 7 | davidgrudl.com) |
info.panel.phtml
| Type | Line | Description |
|---|---|---|
| 6 | tracy.nette.org) | |
| 7 | davidgrudl.com) | |
| 35 | @ can be restricted | |
| 62 | @ may not exist | |
| 65 | @ may not exist or be valid | |
| 66 | @ keys may not exist |
info.tab.phtml
| Type | Line | Description |
|---|---|---|
| 6 | tracy.nette.org) | |
| 7 | davidgrudl.com) |
content.phtml
| Type | Line | Description |
|---|---|---|
| 6 | tracy.nette.org) | |
| 7 | davidgrudl.com) | |
| 356 | github.com/sponsors/dg" target="_blank" rel="noreferrer noopener">Please support Tracy via a donation 💙️</a></b></li> | |
| 360 | tracy.nette.org" rel="noreferrer"></a></div> |
page.phtml
| Type | Line | Description |
|---|---|---|
| 6 | tracy.nette.org) | |
| 7 | davidgrudl.com) |
BlueScreen.php
| Type | Line | Description |
|---|---|---|
| 4 | tracy.nette.org) | |
| 5 | davidgrudl.com) | |
| 111 | double buffer prevents sending HTTP headers in some PHP | |
| 178 | restore ob-level if broken | |
| 236 | www.google.com/search?sourceid=tracy&q=' . urlencode($query), | |
| 244 | #', $source = Helpers::getSource()) | |
| 260 | @ file may not exist | |
| 288 | <code><span color=highlight.html> | |
| 305 | find last highlighted block | |
| 377 | highlight 'string' | |
| 384 | clickable class & methods | |
| 401 | clickable file name | |
| 419 | @ phpinfo may be disabled | |
| 422 | @ phpinfo may be disabled |
Debugger.php
| Type | Line | Description |
|---|---|---|
| 4 | tracy.nette.org) | |
| 5 | davidgrudl.com) | |
| 105 | %action/?file=%file&line=%line&search=%search&replace=%replace'; | |
| 168 | logging configuration | |
| 185 | php configuration | |
| 187 | or 'stderr' | |
| 193 | intentionally == | |
| 313 | nothing | |
| 322 | @ triggers E_NOTICE when strerr is closed since PHP 7.4 | |
| 386 | workaround for PHP bug #80234 | |
| 390 | workaround for PHP < 7.4 | |
| 404 | muted errors | |
| 421 | $strictMode | |
| 434 | repeated error | |
| 439 | false calls normal error handler | |
| 443 | calls normal error handler to fill-in error_get_last() | |
| 457 | @ may be not removable | |
| 487 | filled by errorHandler() | |
| 503 | back compatiblity | |
| 632 | workaround for PHP < 7.3.4 |
Describer.php
| Type | Line | Description |
|---|---|---|
| 4 | tracy.nette.org) | |
| 5 | davidgrudl.com) | |
| 23 | Number.MAX_SAFE_INTEGER | |
| 116 | to distinct int and float in JS | |
| 196 | to be not released by garbage collector in collecting mode | |
| 249 | ensure result is Value |
Dumper.php
| Type | Line | Description |
|---|---|---|
| 4 | tracy.nette.org) | |
| 5 | davidgrudl.com) | |
| 23 | how many nested levels of array/object properties display (defaults to 7) | |
| 24 | how truncate long strings? (defaults to 150) | |
| 25 | how many items in array/object display? (defaults to 100) | |
| 26 | collapse top array/object or how big are collapsed? (defaults to 14) | |
| 27 | how big array/object are collapsed in non-lazy mode? (defaults to 7) | |
| 28 | show location string? (defaults to 0) | |
| 29 | custom exporters for objects (defaults to Dumper::$objectexporters) | |
| 30 | lazy-loading via JavaScript? true=full, false=none, null=collapsed parts (defaults to null/false) | |
| 31 | use static $liveSnapshot (used by Bar) | |
| 32 | array used for shared snapshot for lazy-loading via JavaScript | |
| 33 | use magic method __debugInfo if exists (defaults to false) | |
| 34 | sensitive keys not displayed (defaults to []) | |
| 35 | detects sensitive keys not to be displayed | |
| 36 | color theme (defaults to light) | |
| 39 | shows where classes are defined | |
| 40 | additionally shows where dump was called | |
| 41 | deprecated | |
| 105 | non-html | |
| 108 | html |
Exposer.php
| Type | Line | Description |
|---|---|---|
| 4 | tracy.nette.org) | |
| 5 | davidgrudl.com) | |
| 22 | bug #79477, PHP < 7.4.6 | |
| 69 | nothing |
Renderer.php
| Type | Line | Description |
|---|---|---|
| 4 | tracy.nette.org) | |
| 5 | davidgrudl.com) | |
| 63 | no lazy-loading | |
| 67 | full lazy-loading | |
| 72 | lazy-loading of collapsed parts | |
| 455 | @ may be disabled |
Value.php
| Type | Line | Description |
|---|---|---|
| 4 | tracy.nette.org) | |
| 5 | davidgrudl.com) |
functions.php
| Type | Line | Description |
|---|---|---|
| 4 | tracy.nette.org) | |
| 5 | davidgrudl.com) |
Helpers.php
| Type | Line | Description |
|---|---|---|
| 4 | tracy.nette.org) | |
| 5 | davidgrudl.com) | |
| 113 | @ xdebug compatibility warning | |
| 164 | ' : 'http://') | |
| 183 | do nothing | |
| 404 | author: Jakub Vrana https://php.vrana.cz/minifikace-javascriptu.php | |
| 411 | [^\n]*+\n|/\*(?:[^*]|\*(?!/))*+\*/)* # optional space | |
| 420 | [^\n]*+\n|/\*(?:[^*]|\*(?!/))*+\*/)* # optional space | |
| 486 | https://no-color.org | |
| 488 | @ may trigger error 'cannot cast a filtered stream on this system' | |
| 491 | ConEmu | |
| 492 | ANSICON | |
| 493 | MSYS | |
| 494 | MSYS |
FireLogger.php
| Type | Line | Description |
|---|---|---|
| 4 | tracy.nette.org) | |
| 5 | davidgrudl.com) | |
| 16 | firelogger.binaryage.com | |
| 17 | chrome.google.com/webstore/detail/firelogger-for-chrome/hmagilfopmdjkeomnjpchokglfdfjfeh |
ILogger.php
| Type | Line | Description |
|---|---|---|
| 4 | tracy.nette.org) | |
| 5 | davidgrudl.com) |
Logger.php
| Type | Line | Description |
|---|---|---|
| 4 | tracy.nette.org) | |
| 5 | davidgrudl.com) | |
| 69 | @ is escalated to exception | |
| 167 | @ file may not exist | |
| 168 | @ file may not be writable |
OutputDebugger.php
| Type | Line | Description |
|---|---|---|
| 4 | tracy.nette.org) | |
| 5 | davidgrudl.com) |
tracy.php
| Type | Line | Description |
|---|---|---|
| 4 | tracy.nette.org) | |
| 6 | davidgrudl.com) |
create-phar.php
| Type | Line | Description |
|---|---|---|
| 5 | creates tracy.phar | |
| 15 | closure-compiler.appspot.com/compile'); | |
| 28 | remove comments | |
| 29 | compress space, ignore hard space | |
| 32 | remove leading semicolon | |
| 37 | @ - file may not exist | |
| 41 | ' . __FILE__ . '/tracy.php'; |
BcmathEncoder.php
| Type | Line | Description |
|---|---|---|
| 6 | github.com/ircmaxell/SecurityLib/tree/master/lib/SecurityLib | |
| 37 | codegolf.stackexchange.com/a/21672 */ |
PhpEncoder.php
| Type | Line | Description |
|---|---|---|
| 6 | github.com/ircmaxell/SecurityLib/tree/master/lib/SecurityLib | |
| 37 | codegolf.stackexchange.com/a/21672 */ |
index.php
| Type | Line | Description |
|---|---|---|
| 6 | define("DEBUG", true); | |
| 8 | defined("APP") || define("APP", ROOT . DS . "app"); | |
| 9 | defined("CACHE") || define("CACHE", ROOT . DS . "temp"); | |
| 10 | defined("DATA") || define("DATA", ROOT . DS . "data"); | |
| 11 | defined("WWW") || define("WWW", ROOT . DS . "www"); | |
| 13 | defined("CONFIG") || define("CONFIG", APP . DS . "config.neon"); | |
| 14 | defined("CONFIG_PRIVATE") || define("CONFIG_PRIVATE", APP . DS . "config_private.neon"); | |
| 16 | defined("TEMPLATES") || define("TEMPLATES", WWW . DS . "templates"); | |
| 17 | defined("PARTIALS") || define("PARTIALS", WWW . DS . "partials"); | |
| 19 | defined("DOWNLOAD") || define("DOWNLOAD", WWW . DS . "download"); | |
| 20 | defined("UPLOAD") || define("UPLOAD", WWW . DS . "upload"); | |
| 22 | defined("LOGS") || define("LOGS", ROOT . DS . "logs"); | |
| 23 | defined("TEMP") || define("TEMP", ROOT . DS . "temp"); |